I get the following error in hive:
Logging initialized using configuration in file:/home/hdetl/hive-log4j.properties
Hive history file=/tmp/hdetl/hive_job_log_user_5202@server_201403311250_1992041940.txt
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH-4.2.1-1.cdh4.2.1.p0.5 /lib/zookeeper/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [file:/home/hdetl/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.hadoop.hive.ql.parse.ParseDriver.getKeywords()Ljava/util/Collection;
at org.apache.hadoop.hive.cli.CliDriver.getCommandCompletor(CliDriver.java:538)
at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:721)
at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:613)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.hadoop.util.RunJar.main(RunJar.java:208)
Check the hive version you are using is compatible with your Hadoop version.
CliDriver
is trying to call a static method getKeywords
on ParseDriver
, and that method is apparently not being found.
CliDriver
may be defined in a jar named hive-cli-<version>.jar
, whereas ParseDriver
may be defined in hive-exec-<version>.jar
. I would look for those files on your system, and check if the versions match.
We have deleted the logs in all the hadoop cluster node and now we are able to logon into hive. May be the issue with the space.
Thanks
I get the following error in hive:
Logging initialized using configuration in file:/home/hdetl/hive-log4j.properties
Hive history file=/tmp/hdetl/hive_job_log_user_5202@server_201403311250_1992041940.txt
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH-4.2.1-1.cdh4.2.1.p0.5 /lib/zookeeper/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [file:/home/hdetl/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.hadoop.hive.ql.parse.ParseDriver.getKeywords()Ljava/util/Collection;
at org.apache.hadoop.hive.cli.CliDriver.getCommandCompletor(CliDriver.java:538)
at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:721)
at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:613)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.hadoop.util.RunJar.main(RunJar.java:208)
Check the hive version you are using is compatible with your Hadoop version.
CliDriver
is trying to call a static method getKeywords
on ParseDriver
, and that method is apparently not being found.
CliDriver
may be defined in a jar named hive-cli-<version>.jar
, whereas ParseDriver
may be defined in hive-exec-<version>.jar
. I would look for those files on your system, and check if the versions match.
We have deleted the logs in all the hadoop cluster node and now we are able to logon into hive. May be the issue with the space.
Thanks
0 commentaires:
Enregistrer un commentaire