Sqoop eval正在运行,但sqoop导入错误

时间:2015-10-08 06:35:40

标签: hdfs sqoop biginsights

当我运行sqoop eval时,它会给我输出。但当我做sqoop导入其给出以下错误

    Error: java.lang.RuntimeException: java.lang.RuntimeException: java.sql.SQLException: The Network Adapter could not establish the connection
    at org.apache.sqoop.mapreduce.db.DBInputFormat.setConf(DBInputFormat.java:167)
    at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:73)
    at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:133)
    at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:746)
    at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)
    at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:163)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:415)
    at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1628)
    at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)

我正在使用BigInsight。任何人都可以告诉你这是什么问题。

1 个答案:

答案 0 :(得分:3)

Sqoop Import使用Map-reduce而Sqoop Eval则不然。您将从与源连接的节点执行Sqoop Eval。

要使Sqoop导入工作,群集的所有节点都需要连接到源。