Sqoop - Could not find or load main class org.apache.sqoop.Sqoop

talha06 picture talha06 · Mar 20, 2013 · Viewed 12.9k times · Source

I installed Hadoop, Hive, HBase, Sqoop and added them to the PATH.

When I try to execute sqoop command, I'm getting this error:

Error: Could not find or load main class org.apache.sqoop.Sqoop

Development Environment:

OS : Ubuntu 12.04 64-bit

Hadoop Version: 1.0.4

Hive Version: 0.9.0

Hbase Version: 0.94.5

Sqoop Version: 1.4.3

Answer

Laxmikanth Samudrala picture Laxmikanth Samudrala · Mar 21, 2013

make sure you have sqoop-1.4.3.jar under your SQOOP HOME directory.

Note : May be because you had downloaded wrong distribution under Sqoop Distribution