Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Sqoop not working

Highlighted

Sqoop not working

New Contributor

When trying to run a sqoop job, it is not starting.

[hadoop@client~]# sqoop job --exec job_name

Warning: /usr/hdp/2.5.0.0-1245/hbase does not exist! HBase imports will fail.

Please set $HBASE_HOME to the root of your HBase installation.

Warning: /usr/hdp/2.5.0.0-1245/accumulo does not exist! Accumulo imports will fail.

Please set $ACCUMULO_HOME to the root of your Accumulo installation.

17/04/25 23:39:39 INFO sqoop.Sqoop: Running Sqoop version: 1.4.6.2.5.0.0-1245

17/04/25 23:39:39 ERROR sqoop.Sqoop: Got exception running Sqoop: java.lang.IllegalArgumentException: Passed Null for map null

java.lang.IllegalArgumentException: Passed Null for map null

	at org.apache.sqoop.util.SqoopJsonUtil.getMapforJsonString(SqoopJsonUtil.java:48)

	at org.apache.sqoop.SqoopOptions.loadProperties(SqoopOptions.java:638)

	at org.apache.sqoop.metastore.hsqldb.HsqldbJobStorage.read(HsqldbJobStorage.java:299)

	at org.apache.sqoop.tool.JobTool.execJob(JobTool.java:200)

	at org.apache.sqoop.tool.JobTool.run(JobTool.java:298)

	at org.apache.sqoop.Sqoop.run(Sqoop.java:147)

	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)

	at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:183)

	at org.apache.sqoop.Sqoop.runTool(Sqoop.java:225)

	at org.apache.sqoop.Sqoop.runTool(Sqoop.java:234)

	at org.apache.sqoop.Sqoop.main(Sqoop.java:243)