Support Questions

Find answers, ask questions, and share your expertise
Celebrating as our community reaches 100,000 members! Thank you!

Sqoop error in CDP 7

Cloudera Employee

After upgrading to CDP 7.1.x sqoop fails with /opt/cloudera/parcels/CDH-7.1.4-1.cdh7.1.4.p0.6300266/bin/../lib/sqoop/bin/sqoop: line 101: /usr/lib/hadoop/bin/hadoop: No such file or directory. Is there a new directory location required or what is the error indicating?


Warning: /opt/cloudera/parcels/CDH-7.1.4-1.cdh7.1.4.p0.6300266/bin/../lib/sqoop/../accumulo does not exist! Accumulo imports will fail.
Please set $ACCUMULO_HOME to the root of your Accumulo installation.
/opt/cloudera/parcels/CDH-7.1.4-1.cdh7.1.4.p0.6300266/bin/../lib/sqoop/bin/sqoop: line 101: /usr/lib/hadoop/bin/hadoop: No such file or directory


Expert Contributor



Check whether the below path exists on the host/node where you are submitting the sqoop job.




If it does, please remove the path which will further allow HADOOP HOME to be set to /opt/cloudera/parcels/CDH/lib/hadoop which is the correct path.


for your reference:-->