hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Allen Wittenauer <awittena...@linkedin.com>
Subject Re: WARN util.NativeCodeLoader: Unable to load native-hadoop library
Date Wed, 14 Jul 2010 15:28:31 GMT

On Jul 14, 2010, at 6:54 AM, Some Body wrote:

> 
> [root@namenode] # ls -lgo
> lrwxrwxrwx  1      6 2010-07-14 01:54 libhadoop.a -> libz.a
> lrwxrwxrwx  1     18 2010-07-14 01:19 libhadoop.so -> libhadoop.so.1.0.0
> lrwxrwxrwx  1     18 2010-07-14 01:19 libhadoop.so.1 -> libhadoop.so.1.0.0
> lrwxrwxrwx  1     15 2010-07-14 01:19 libhadoop.so.1.0.0 -> libz.so.1.2.1.2

No no, not a symlink.  Link as in when the code gets compiled, libhadoop will be linked to
libz via ld.

> -rwxr-xr-x  1 101430 2010-07-14 01:53 libz.a
> lrwxrwxrwx  1     15 2010-07-13 03:26 libz.so -> libz.so.1.2.1.2
> lrwxrwxrwx  1     15 2010-07-13 03:26 libz.so.1 -> libz.so.1.2.1.2
> -rwxr-xr-x  1  77072 2010-07-13 03:27 libz.so.1.2.1.2
> drwxr-xr-x  2   4096 2010-07-14 05:17 org

Blow all of this away, and recopy the native dir from your distribution.  

You don't need libz in this dir at all.




Mime
View raw message