[ 
https://issues.apache.org/jira/browse/HADOOP-10390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13925384#comment-13925384
 ] 

Colin Patrick McCabe commented on HADOOP-10390:
-----------------------------------------------

bq. Actually, it seems that the problem is different. There's an attempt to 
load the lib from /usr/lib/hadoop/libhdfs which doesn't exist in any of Bigtop 
based Hadoop installations (e.g. all of them, really)

Java has a property named {{java.library.path}} which determines where it will 
look for native libraries.  If bigtop is not setting this correctly, let's open 
a bigtop JIRA to address that.

It's a separate issue from the one described here, which relates to 
{{HDFS_LIB_VERSION}}.

I'll commit this tomorrow if there are no more comments.  Thanks!

> DFSCIOTest looks for the wrong version of libhdfs
> -------------------------------------------------
>
>                 Key: HADOOP-10390
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10390
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.0.0-alpha
>            Reporter: wenwupeng
>            Assignee: Binglin Chang
>         Attachments: HADOOP-10390.v1.patch
>
>
> Run benckmark DFSCIOTest failed at libhdfs.so.1
> hadoop jar 
> ./share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.3.0-tests.jar 
> DFSCIOTest -write -nrFiles 1 -fileSize 100
> DFSCIOTest.0.0.1
> 14/03/06 02:52:55 INFO fs.DFSCIOTest: nrFiles = 1
> 14/03/06 02:52:55 INFO fs.DFSCIOTest: fileSize (MB) = 100
> 14/03/06 02:52:55 INFO fs.DFSCIOTest: bufferSize = 1000000
> 14/03/06 02:52:55 WARN util.NativeCodeLoader: Unable to load native-hadoop 
> library for your platform... using builtin-java classes where applicable
> File /hadoop/hadoop-smoke/libhdfs/libhdfs.so.1 does not exist
> can get libhdfs.so.0.0.0 under ./lib/native
> [root@namenode hadoop-smoke]# find ./ -name libhdfs*
> ./lib/native/libhdfs.so
> ./lib/native/libhdfs.so.0.0.0
> ./lib/native/libhdfs.a



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to