hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yin Lou <yin.lou...@gmail.com>
Subject Re: how to set system properties for mapper/reducer?
Date Fri, 08 Oct 2010 00:12:12 GMT
I don't understand. I want to pass something like
java.library.path="/home/.../libXXX.so" so that every mapper can load that
lib and use the native code.

Could you give me an example?

Thanks!
Yin

On Thu, Oct 7, 2010 at 6:05 PM, Ted Yu <yuzhihong@gmail.com> wrote:

> Take a look at bin/hadoop:
> hadoop:  HADOOP_OPTS="$HADOOP_OPTS -Djava.library.path=$JAVA_LIBRARY_PATH"
>
>
> On Thu, Oct 7, 2010 at 12:04 PM, Yin Lou <yin.lou.07@gmail.com> wrote:
>
>> Hi,
>>
>> Is there any way to pass system properties, like java.library.path to each
>> mapper/reducer?
>>
>> Thanks,
>> Yin
>>
>
>

Mime
View raw message