You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Andrzej Bialecki <ab...@getopt.org> on 2007/04/04 12:05:41 UTC

Re: Unable to load native-hadoop library

wangxu wrote:
> when I use nutch-nightly0.9 ,I got this:
> 
> Unable to load native-hadoop library for your platform... using
> builtin-java classes where applicable
> 
> 
> And I echo $JAVA_LIBRARY_PATH,then I got:
> 
> JAVA_LIBRARY_PATH: nutch/lib/native/Linux-i386-32
> 
> How can I correct it?

(Please send Nutch-related questions first to Nutch groups).

What is your operating system (uname -a) ?


-- 
Best regards,
Andrzej Bialecki     <><
  ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com


Re: Unable to load native-hadoop library

Posted by wangxu <wa...@souchang.com>.
yeah,it is 32-bit,and it is 1.5.0_04 JDK.
lots of the commands throw this warn information.

just for example,
bin/nutcher readdb nutcherdata/test/crawl/crawldb/ -stats

it says
2007-04-06 08:58:09,992 WARN  util.NativeCodeLoader 
(NativeCodeLoader.java:<clin it>(51)) - Unable to load native-hadoop 
library for your platform... using built in-java classes where applicable


Andrzej Bialecki wrote:
> wangxu wrote:
>> Linux wangxu.com 2.6.8-2-386 #1 Tue Aug 16 12:46:35 UTC 2005 i686 
>> GNU/Linux
>>
>> Andrzej Bialecki wrote:
>>> wangxu wrote:
>>>> when I use nutch-nightly0.9 ,I got this:
>>>>
>>>> Unable to load native-hadoop library for your platform... using
>>>> builtin-java classes where applicable
>>>>
>>>>
>>>> And I echo $JAVA_LIBRARY_PATH,then I got:
>>>>
>>>> JAVA_LIBRARY_PATH: nutch/lib/native/Linux-i386-32
>>>>
>>>> How can I correct it?
>>>
>>> (Please send Nutch-related questions first to Nutch groups).
>>>
>>> What is your operating system (uname -a) ?
>
> Currently, native libs are available only for 32-bit JVMs - so if you 
> are running a 64-bit JVM it won't work. Also, I assume you are using a 
> Sun JDK 1.5 or newer.
>
> If all of the above is correct, then you could try to send us the 
> complete command that the bin/nutch script comes up with - simply echo 
> the last command just before it executes, and copy this.
>
>


Re: Unable to load native-hadoop library

Posted by Andrzej Bialecki <ab...@getopt.org>.
wangxu wrote:
> Linux wangxu.com 2.6.8-2-386 #1 Tue Aug 16 12:46:35 UTC 2005 i686 GNU/Linux
> 
> Andrzej Bialecki wrote:
>> wangxu wrote:
>>> when I use nutch-nightly0.9 ,I got this:
>>>
>>> Unable to load native-hadoop library for your platform... using
>>> builtin-java classes where applicable
>>>
>>>
>>> And I echo $JAVA_LIBRARY_PATH,then I got:
>>>
>>> JAVA_LIBRARY_PATH: nutch/lib/native/Linux-i386-32
>>>
>>> How can I correct it?
>>
>> (Please send Nutch-related questions first to Nutch groups).
>>
>> What is your operating system (uname -a) ?

Currently, native libs are available only for 32-bit JVMs - so if you 
are running a 64-bit JVM it won't work. Also, I assume you are using a 
Sun JDK 1.5 or newer.

If all of the above is correct, then you could try to send us the 
complete command that the bin/nutch script comes up with - simply echo 
the last command just before it executes, and copy this.


-- 
Best regards,
Andrzej Bialecki     <><
  ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com


Re: Unable to load native-hadoop library

Posted by wangxu <wa...@souchang.com>.
Linux wangxu.com 2.6.8-2-386 #1 Tue Aug 16 12:46:35 UTC 2005 i686 GNU/Linux

Andrzej Bialecki wrote:
> wangxu wrote:
>> when I use nutch-nightly0.9 ,I got this:
>>
>> Unable to load native-hadoop library for your platform... using
>> builtin-java classes where applicable
>>
>>
>> And I echo $JAVA_LIBRARY_PATH,then I got:
>>
>> JAVA_LIBRARY_PATH: nutch/lib/native/Linux-i386-32
>>
>> How can I correct it?
>
> (Please send Nutch-related questions first to Nutch groups).
>
> What is your operating system (uname -a) ?
>
>