Thanks a tonn Cheolsoo I was struggling from 5 days to find out what exactly went wrong...
Thanks again Regards Prabhjot On 7/20/12, Cheolsoo Park <[email protected]> wrote: > 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 >> >
