sqoop 报错
小女子刚接触,准备用sqoop导入数据到hadoop中。环境:hadoop-0.20.203 hive-0.7.0 sqoop-1.3.0-cdh3u2
$ bin/sqoop
Try 'sqoop help' for usage.
$ bin/sqoop --help
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.hadoop.conf.Configuration.getInstances(Ljava/lang/String;Ljava/lang/Class;)Ljava/util/List;
at com.cloudera.sqoop.tool.SqoopTool.loadPlugins(SqoopTool.java:141)
at com.cloudera.sqoop.Sqoop.runTool(Sqoop.java:211)
at com.cloudera.sqoop.Sqoop.runTool(Sqoop.java:230)
at com.cloudera.sqoop.Sqoop.main(Sqoop.java:239)
还请大侠赐教~~~
sqoop 1.3目前只支持Cloudera版的hadoop(就是CDH),除非你把hadoop换成Cloudera版的,否则就只能用sqoop 1.2,1.2兼容 hadoop 0.20.x 的
可参照:
https://groups.google.com/a/cloudera.org/group/sqoop-user/browse_thread/thread/f259d79972c2b7b6#
页:
[1]