sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amit Sela <am...@infolinks.com>
Subject Re: Programmatic (java) Sqoop import from MySQL to HBase Could not find hadoop core jar
Date Sun, 27 Oct 2013 15:52:30 GMT
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