sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jarek Jarcec Cecho <jar...@apache.org>
Subject Re: Programmatic (java) Sqoop import from MySQL to HBase Could not find hadoop core jar
Date Wed, 30 Oct 2013 21:14:01 GMT
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 <kkrishnan88@gmail.com> wrote:
> 
> > Can you try adding the jar to HADOOP_CLASSPATH / CLASSPATH ?
> >
> >
> > On Sun, Oct 27, 2013 at 7:34 PM, Amit Sela <amits@infolinks.com> 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.
> >>
> >
> >

Mime
View raw message