sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alec Ten Harmsel <a...@alectenharmsel.com>
Subject Re: SQOOP_CLASSPATH
Date Tue, 29 Jul 2014 20:55:44 GMT
Thanks Jarcec.

That's kind of annoying; for now I'm modifying SQOOP_USER_CLASSPATH, 
and that works just fine.

Alec

On Tue 29 Jul 2014 04:49:20 PM EDT, Jarek Jarcec Cecho wrote:
> Hi Alec,
> variable SQOOP_CLASSPATH is a private one (don’t ask me why though). If you need to
put something on Sqoop class path you need to alter HADOOP_CLASSPATH variable instead.
>
> Jarcec
>
> On Jul 28, 2014, at 11:24 AM, Alec Ten Harmsel <alec@alectenharmsel.com> wrote:
>
>> Hi guys,
>>
>> I'd like to be able to set SQOOP_CLASSPATH on my own so that I can point
>> it to JARs provided by packages instead of having to copy JARs into
>> $SQOOP_HOME/lib. The MySQL and Postgres JDBC drivers provided by RHEL
>> all end up in /usr/share/java.
>>
>> Relevant lines from bin/configure-sqoop:
>>
>>    . ${SQOOP_CONF_DIR}/sqoop-env.sh # Line 38. I've set SQOOP_CLASSPATH
>> in sqoop-env.sh
>>    # ...
>>    SQOOP_CLASSPATH="" # Line 161. Clears SQOOP_CLASSPATH
>>
>> I'm just wondering if there's either a good reason for this or another
>> way to point sqoop at the relevant JARs.
>>
>> Thanks,
>>
>> Alec
>

Mime
View raw message