[ https://issues.apache.org/jira/browse/HDFS-8922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14703754#comment-14703754 ]
Hadoop QA commented on HDFS-8922: --------------------------------- \\ \\ | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | pre-patch | 5m 44s | Pre-patch trunk compilation is healthy. | | {color:green}+1{color} | @author | 0m 0s | The patch does not contain any @author tags. | | {color:red}-1{color} | tests included | 0m 0s | The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. | | {color:green}+1{color} | javac | 8m 13s | There were no new javac warning messages. | | {color:green}+1{color} | release audit | 0m 21s | The applied patch does not increase the total number of release audit warnings. | | {color:green}+1{color} | whitespace | 0m 0s | The patch has no lines that end in whitespace. | | {color:green}+1{color} | install | 1m 25s | mvn install still works. | | {color:green}+1{color} | eclipse:eclipse | 0m 34s | The patch built with eclipse:eclipse. | | {color:green}+1{color} | native | 1m 1s | Pre-build of native portion | | {color:red}-1{color} | hdfs tests | 176m 59s | Tests failed in hadoop-hdfs. | | | | 194m 21s | | \\ \\ || Reason || Tests || | Failed unit tests | hadoop.hdfs.server.namenode.ha.TestBootstrapStandbyWithQJM | | Timed out tests | org.apache.hadoop.cli.TestHDFSCLI | \\ \\ || Subsystem || Report/Notes || | Patch URL | http://issues.apache.org/jira/secure/attachment/12751299/HDFS-8922.patch | | Optional Tests | javac unit | | git revision | trunk / f61120d | | hadoop-hdfs test log | https://builds.apache.org/job/PreCommit-HDFS-Build/12043/artifact/patchprocess/testrun_hadoop-hdfs.txt | | Test Results | https://builds.apache.org/job/PreCommit-HDFS-Build/12043/testReport/ | | Java | 1.7.0_55 | | uname | Linux asf901.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux | | Console output | https://builds.apache.org/job/PreCommit-HDFS-Build/12043/console | This message was automatically generated. > IBM Java requires libdl for linking in native_mini_dfs > ------------------------------------------------------ > > Key: HDFS-8922 > URL: https://issues.apache.org/jira/browse/HDFS-8922 > Project: Hadoop HDFS > Issue Type: Bug > Components: build > Affects Versions: 2.7.1 > Environment: IBM Java RHEL7.1 > Reporter: Ayappan > Attachments: HDFS-8922.patch > > > Building hadoop-hdfs-project with -Pnative option using IBM Java fails with > the following error > [exec] Linking C executable test_native_mini_dfs > [exec] /usr/bin/cmake -E cmake_link_script > CMakeFiles/test_native_mini_dfs.dir/link.txt --verbose=1 > [exec] /usr/bin/cc -g -Wall -O2 -D_REENTRANT -D_GNU_SOURCE > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fvisibility=hidden > CMakeFiles/test_native_mini_dfs.dir/main/native/libhdfs/test_native_mini_dfs.c.o > -o test_native_mini_dfs -rdynamic libnative_mini_dfs.a > /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so -lpthread > -Wl,-rpath,/home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic > [exec] make[2]: Leaving directory > `/home/ayappan/hadoop_2.7.1_new/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/native' > [exec] make[1]: Leaving directory > `/home/ayappan/hadoop_2.7.1_new/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/native' > [exec] > /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: > undefined reference to `dlopen' > [exec] > /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: > undefined reference to `dlclose' > [exec] > /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: > undefined reference to `dlerror' > [exec] > /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: > undefined reference to `dlsym' > [exec] > /home/ayappan/ibm-java-ppc64le-71/jre/lib/ppc64le/classic/libjvm.so: > undefined reference to `dladdr' > [exec] collect2: error: ld returned 1 exit status > [exec] make[2]: *** [test_native_mini_dfs] Error 1 > [exec] make[1]: *** [CMakeFiles/test_native_mini_dfs.dir/all] Error 2 > [exec] make: *** [all] Error 2 > It seems like the IBM jvm requires libdl for linking in native_mini_dfs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)