Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Sqoop >> mail # user >> ClassNotFoundException: com.cloudera.sqoop.Sqoop


+
iwannaplay games 2012-07-20, 05:46
Copy link to this message
-
Re: ClassNotFoundException: com.cloudera.sqoop.Sqoop
Hello Prabhjot,

Which tarball did you download? The source tarball (
sqoop-1.4.1-incubating-src.tar.gz<http://apache.tradebit.com/pub/sqoop/1.4.1-incubating/sqoop-1.4.1-incubating-src.tar.gz>)
doesn't include Sqoop jar file, so you get that error. Please download one
of the following:

 sqoop-1.4.1-incubating__hadoop-0.20.tar.gz
<http://apache.tradebit.com/pub/sqoop/1.4.1-incubating/sqoop-1.4.1-incubating__hadoop-0.20.tar.gz>
 sqoop-1.4.1-incubating__hadoop-0.23.tar.gz
<http://apache.tradebit.com/pub/sqoop/1.4.1-incubating/sqoop-1.4.1-incubating__hadoop-0.23.tar.gz>
 sqoop-1.4.1-incubating__hadoop-1.0.0.tar.gz
<http://apache.tradebit.com/pub/sqoop/1.4.1-incubating/sqoop-1.4.1-incubating__hadoop-1.0.0.tar.gz>

Thanks,
Cheolsoo

On Thu, Jul 19, 2012 at 10:46 PM, iwannaplay games <
[EMAIL PROTECTED]> wrote:

> Hi
>
> I Downloaded Sqoop from http://sqoop.apache.org and untar the file.
> Added env variable SQOOP_HOME pointing to the above exploded folder.
> Finally added $SQOOP_HOME/bin in the PATH.
> Still i am getting this error
>
> [hduser@master bin]$ ./sqoop-help
> Warning: $HADOOP_HOME is deprecated.
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> com/cloudera/sqoop/Sqoop
> Caused by: java.lang.ClassNotFoundException: com.cloudera.sqoop.Sqoop
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: com.cloudera.sqoop.Sqoop.  Program will
> exit.
>
> Please help me
>
>  Thanks & Regards
>  Prabhjot
>
+
iwannaplay games 2012-07-23, 05:30
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB