NoSuchMethodError when hive.execution.engine value is its tez

I am using hive 1.0.0 and apache tez 0.4.1 When I configure the hive to use tez I get an exception.

In hive-site.xml when hive.execution.engine value mr

works fine. But if I set it to tez

, I get this error:

Exception in thread "main" java.lang.NoSuchMethodError: org.apache.tez.mapreduce.hadoop.MRHelpers.updateEnvBasedOnMRAMEnv(Lorg/apache/hadoop/conf/Configuration;Ljava/util/Map;)V
    at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:169)
    at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:122)
    at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:454)
    at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:626)
    at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:570)
    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:606)
    at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
    at org.apache.hadoop.util.RunJar.main(RunJar.java:136)

      

What am I missing?

+3


source to share


1 answer


i solved it myself .... i just updated tez version from 0.4.1 to 0.5.2. I just heard that tez 0.4.1 had some problems when integrating with the hive.



+1


source







All Articles