Hive Start Error: Exception in thread “main” java.lang.NoSuchMethodError:

Error Messages:
Exception in thread “main” java.lang.NoSuchMethodError:;Ljava/lang/Object;)V
at org.apache.hadoop.conf.Configuration.set(

at org.apache.hadoop.util.RunJar.main(

The two guava.jar versions of hadoop and hive are inconsistent
The two locations are located in the following two directories.
– /usr/local/hive/lib/
– /usr/local/hadoop/share/hadoop/common/lib/

Delete the lower version and copy the higher version to the lower version directory

Similar Posts: