Hi Amit, would you mind sharing the entire stack trace that you are getting?
Please note that Sqoop 1 do not have officially supported client API and thus directly using Sqoop.runTool() is not supported and you might run into a lot of issues such as this one. Jarcec On Sun, Oct 27, 2013 at 05:52:30PM +0200, Amit Sela wrote: > Which jar ? > > Hadoop jars are in "HADOOP_HOME/lib" and also sqoop jar. > I'm trying to execute the import from an OSGi running client, with a maven > dependency and embedding on sqoop. > > > > > On Sun, Oct 27, 2013 at 5:15 PM, Krishnan K <[email protected]> wrote: > > > Can you try adding the jar to HADOOP_CLASSPATH / CLASSPATH ? > > > > > > On Sun, Oct 27, 2013 at 7:34 PM, Amit Sela <[email protected]> wrote: > > > >> Hi all, > >> > >> I'm new to Sqoop and I'm trying to execute (from Java code) a sqoop > >> import from MySQL to HBase. > >> > >> I'm using Sqoop.runTool() with a String[] containing all the necessary > >> parameters, I even added "--hadoop-home" with the value of my $HADOOP_HOME. > >> > >> Anyone had this problem before ? any ideas ? > >> > >> Thanks, > >> > >> Amit. > >> > > > >
signature.asc
Description: Digital signature
