Hello Jarcec I have correctly set the HADOOP_HOME export HADOOP_HOME=/HADOOP/hadoop-0.20.2 (Here I have put the hadoop 0.20.2)export PATH=$HADOOP_HOME/bin:$PATH and I am sorry I haven't got your point that hadoop jars are not present in the class path.Please explain it little bit. Greetings Yogesh Kumar
> Date: Thu, 14 Jun 2012 14:22:15 +0200 > From: [email protected] > To: [email protected] > Subject: Re: ERROR sqoop.Sqoop: Got exception running Sqoop: > java.lang.RuntimeException: Could not find appropriate Hadoop shim for > 0.20.2.. > > Hi Yogesh, > I believe that this exception is thrown because hadoop jars are not present > in the class path. Do you have correctly set up variable HADOOP_HOME pointing > to your hadoop installation? > > Jarcec > > On Thu, Jun 14, 2012 at 05:18:54PM +0530, yogesh dhari wrote: > > > > Hi Jarcec > > Thanks a lot for helping. > > I have upgraded to 1.4.1-incubatingand after setting path i have tried to > > run "sqoop help" , but its showing this error; > > mediaadmins-iMac-2:~ mediaadmin$ sqoop help > > Exception in thread "main" java.lang.NoSuchMethodError: > > org.apache.hadoop.conf.Configuration.getInstances(Ljava/lang/String;Ljava/lang/Class;)Ljava/util/List; > > at org.apache.sqoop.tool.SqoopTool.loadPlugins(SqoopTool.java:139) > > at org.apache.sqoop.Sqoop.runTool(Sqoop.java:210) at > > org.apache.sqoop.Sqoop.runTool(Sqoop.java:229) at > > org.apache.sqoop.Sqoop.main(Sqoop.java:238) at > > com.cloudera.sqoop.Sqoop.main(Sqoop.java:57) > > > > Please suggest. > > Regards Yogesh Kumar > > > From: [email protected] > > > Subject: Re: ERROR sqoop.Sqoop: Got exception running Sqoop: > > > java.lang.RuntimeException: Could not find appropriate Hadoop shim for > > > 0.20.2.. > > > Date: Wed, 13 Jun 2012 12:31:04 +0200 > > > To: [email protected] > > > > > > Hi Yogesh, > > > version 1.1.0 is very old. Could you upgrade to the recent > > > 1.4.1-incubating? > > > > > > You can choose closes apache mirror on following web page: > > > > > > http://www.apache.org/dyn/closer.cgi/sqoop/ > > > > > > Jarcec > > > > > > On Jun 13, 2012, at 12:26 PM, yogesh dhari wrote: > > > > > > > Hi Jagat, I am using > > > > Sqoop version 1.1.0 n hadoop 0.20.2 > > > > > > > > When I run import command ie. > > > > sqoop import --connect > > > > > > > > I got this error.. > > > > > > > > ERROR sqoop.Sqoop: Got exception running Sqoop: > > > > java.lang.RuntimeException: Could not find appropriate Hadoop shim for > > > > 0.20.2.. > > > > > > > > Please suggest. > > > > >
