You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Reinhard Eilmsteiner (Jira)" <ji...@apache.org> on 2020/02/01 13:02:00 UTC
[jira] [Commented] (HIVE-22807) NoSuchMethodError when running hive
or schematool
[ https://issues.apache.org/jira/browse/HIVE-22807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17028071#comment-17028071 ]
Reinhard Eilmsteiner commented on HIVE-22807:
---------------------------------------------
Downgraded to 3.1.0 - now it comes up. Thx.
> NoSuchMethodError when running hive or schematool
> -------------------------------------------------
>
> Key: HIVE-22807
> URL: https://issues.apache.org/jira/browse/HIVE-22807
> Project: Hive
> Issue Type: Bug
> Affects Versions: 3.1.2
> Environment: jdk1.8.0_241
> hadoop 3.2.1
> Reporter: Reinhard Eilmsteiner
> Priority: Major
>
> After execution of the steps described in [https://cwiki.apache.org/confluence/display/Hive/GettingStarted?show-miniview |https://cwiki.apache.org/confluence/display/Hive/GettingStarted?show-miniview]I run into the following exception when executing hive and schematool:
> Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;)V
> at org.apache.hadoop.conf.Configuration.set(Configuration.java:1357)
> at org.apache.hadoop.conf.Configuration.set(Configuration.java:1338)
> at org.apache.hadoop.mapred.JobConf.setJar(JobConf.java:536)
> at org.apache.hadoop.mapred.JobConf.setJarByClass(JobConf.java:554)
> at org.apache.hadoop.mapred.JobConf.<init>(JobConf.java:448)
> at org.apache.hadoop.hive.conf.HiveConf.initialize(HiveConf.java:5141)
> at org.apache.hadoop.hive.conf.HiveConf.<init>(HiveConf.java:5104)
> at org.apache.hive.beeline.HiveSchemaTool.<init>(HiveSchemaTool.java:96)
> at org.apache.hive.beeline.HiveSchemaTool.main(HiveSchemaTool.java:1473)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.apache.hadoop.util.RunJar.run(RunJar.java:323)
> at org.apache.hadoop.util.RunJar.main(RunJar.java:236)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)