sqoop: java.lang.NoSuchMethodError: org.apache.hadoop.hive.ql.session.SessionSta

20/08/27 16:57:00 INFO hive.HiveImport: Exception in thread "main" java.lang.NoSuchMethodError: org.apache.hadoop.hive.ql.session.SessionState$LogHelper.(Lorg/apache/commons/logging/Log;)V
20/08/27 16:57:00 INFO hive.HiveImport: 	at org.apache.hadoop.hive.cli.CliDriver.(CliDriver.java:110)
20/08/27 16:57:00 INFO hive.HiveImport: 	at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:625)
20/08/27 16:57:00 INFO hive.HiveImport: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
20/08/27 16:57:00 INFO hive.HiveImport: 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
20/08/27 16:57:00 INFO hive.HiveImport: 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
20/08/27 16:57:00 INFO hive.HiveImport: 	at java.lang.reflect.Method.invoke(Method.java:498)
20/08/27 16:57:00 INFO hive.HiveImport: 	at org.apache.hadoop.util.RunJar.run(RunJar.java:233)
20/08/27 16:57:00 INFO hive.HiveImport: 	at org.apache.hadoop.util.RunJar.main(RunJar.java:148)

sqoop 中的hive jar 包和hive服务中的hive jar 包没有对应上。

你可能感兴趣的:(sqoop,大数据)