apachehadoophbasehivesqoop

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


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


Solution

  • 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