Hi guys,

I came back to run hive atop tez, but unfortunately I am again into issues 
running it.

I have tez-0.5.0 and hive-0.13.1 compiled from sources.

I am also running hadoop-2.4.

However, running tez jobs works well. Running hive with mapreduce works well.

But trying to run hive atop tez, it gives me this error:
hadoop@nectar-11:~/rgrandl$ hive

Logging initialized using configuration in 
jar:file:/home/hadoop/rgrandl/dag_project/hive-0.13.1/lib/hive-common-0.13.1.jar!/hive-log4j.properties
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in 
[jar:file:/home/hadoop/rgrandl/dag_project/tez-0.5.0/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in 
[jar:file:/home/hadoop/hadoop-2.4.0/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Exception in thread "main" java.lang.NoSuchMethodError: 
org.apache.tez.mapreduce.hadoop.MRHelpers.updateEnvironmentForMRAM(Lorg/apache/hadoop/conf/Configuration;Ljava/util/Map;)V
    at 
org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:182)
    at 
org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:123)
    at 
org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:355)
    at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:681)
    at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:625)
    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:212)


It looks like some incompatibility, missing classpath ?
I have both hive_home and tez jars into hadoop classpath.

Can someone gives me some directions of what I am doing wrong ? 


Thanks,
Robert

Reply via email to