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

Konstantin Boudnik commented on HADOOP-10390:
---------------------------------------------

[~decster]],  {{HADOOP_HOME/lib/native}} is root owned in an deployed cluster. 
However, running tests as root is a big no-no, normally (as I commented above). 
Also, this location is managed by a package when the cluster is installed. 
Adding/removing stuff into a package realm is - again - is a bad idea. Is it 
possible to keep these elsewhere?

> 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, HADOOP-10390.v2.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