[
https://issues.apache.org/jira/browse/HDFS-3753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13468547#comment-13468547
]
Hudson commented on HDFS-3753:
------------------------------
Integrated in Hadoop-Hdfs-trunk #1184 (See
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/1184/])
HDFS-3753. Tests don't run with native libraries. Contributed by Colin
Patrick McCabe (Revision 1393113)
Result = SUCCESS
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1393113
Files :
* /hadoop/common/trunk/dev-support/test-patch.sh
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/util/TestNativeCodeLoader.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
*
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/TestHdfsNativeCodeLoader.java
*
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestShortCircuitLocalRead.java
* /hadoop/common/trunk/hadoop-project/pom.xml
> Tests don't run with native libraries
> -------------------------------------
>
> Key: HDFS-3753
> URL: https://issues.apache.org/jira/browse/HDFS-3753
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: build, test
> Affects Versions: 2.0.0-alpha
> Reporter: Eli Collins
> Assignee: Colin Patrick McCabe
> Fix For: 2.0.3-alpha
>
> Attachments: HDFS-3753.001.patch, HDFS-3753.002.patch
>
>
> Test execution when run with the native flag and native libraries have been
> built don't actually use the native libs because NativeCodeLoader is unable
> to load native-hadoop. Eg run {{mvn compile -Pnative}} then {{mvn
> -Dtest=TestSeekBug test -Pnative}} and check the test output. This is because
> the test's java.library.path is looking for the lib in hdfs (
> hadoop-hdfs-project/hadoop-hdfs/target/native/target/usr/local/lib) however
> the native lib lives in common. I confirmed copying the lib to the
> appropriate directory fixes things. We need to update the java.library.path
> for test execution to include the common lib dir. This may be an issue with
> MR as well.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira