[ https://issues.apache.org/jira/browse/HDFS-9798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Nauroth resolved HDFS-9798. --------------------------------- Resolution: Duplicate Hi [~ajisakaa]. A recent Yetus change is preventing pre-commit from building libhadoop.so before running the HDFS tests. We're tracking the fix in YETUS-281, and there is a patch in progress. > TestHdfsNativeCodeLoader fails > ------------------------------ > > Key: HDFS-9798 > URL: https://issues.apache.org/jira/browse/HDFS-9798 > Project: Hadoop HDFS > Issue Type: Bug > Components: test > Reporter: Akira AJISAKA > > TestHdfsNativeCodeLoader fails intermittently in Jenkins. > * > https://builds.apache.org/job/PreCommit-HDFS-Build/14473/testReport/org.apache.hadoop.fs/TestHdfsNativeCodeLoader/testNativeCodeLoaded/ > * > https://builds.apache.org/job/PreCommit-HDFS-Build/14475/testReport/org.apache.hadoop.fs/TestHdfsNativeCodeLoader/testNativeCodeLoaded/ > Error message > {noformat} > TestNativeCodeLoader: libhadoop.so testing was required, but libhadoop.so was > not loaded. LD_LIBRARY_PATH = > ${env.LD_LIBRARY_PATH}:/testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/native/target/usr/local/lib:/testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs/../../hadoop-common-project/hadoop-common/target/native/target/usr/local/lib > {noformat} > Stacktrace > {noformat} > java.lang.AssertionError: TestNativeCodeLoader: libhadoop.so testing was > required, but libhadoop.so was not loaded. LD_LIBRARY_PATH = > ${env.LD_LIBRARY_PATH}:/testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/native/target/usr/local/lib:/testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs/../../hadoop-common-project/hadoop-common/target/native/target/usr/local/lib > at org.junit.Assert.fail(Assert.java:88) > at > org.apache.hadoop.fs.TestHdfsNativeCodeLoader.testNativeCodeLoaded(TestHdfsNativeCodeLoader.java:46) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)