[
https://issues.apache.org/jira/browse/HADOOP-9435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13656965#comment-13656965
]
Hadoop QA commented on HADOOP-9435:
-----------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12583101/HADOOP-9435-v1.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
{color:red}-1 tests included{color}. 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 javac{color}. The applied patch does not increase the
total number of javac compiler warnings.
{color:green}+1 javadoc{color}. The javadoc tool did not generate any
warning messages.
{color:green}+1 eclipse:eclipse{color}. The patch built with
eclipse:eclipse.
{color:green}+1 findbugs{color}. The patch does not introduce any new
Findbugs (version 1.3.9) warnings.
{color:green}+1 release audit{color}. The applied patch does not increase
the total number of release audit warnings.
{color:green}+1 core tests{color}. The patch passed unit tests in
hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs.
{color:green}+1 contrib tests{color}. The patch passed contrib unit tests.
Test results:
https://builds.apache.org/job/PreCommit-HADOOP-Build/2540//testReport/
Console output:
https://builds.apache.org/job/PreCommit-HADOOP-Build/2540//console
This message is automatically generated.
> Minimal code change to support IBM jvm build dependency
> -------------------------------------------------------
>
> Key: HADOOP-9435
> URL: https://issues.apache.org/jira/browse/HADOOP-9435
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Reporter: Tian Hong Wang
> Assignee: Tian Hong Wang
> Labels: patch
> Attachments: HADOOP-9435.patch, HADOOP-9435-v1.patch
>
>
> When native build hadoop-common-project with IBM java using command like:
> mvn package -Pnative
> it will exist the following errors.
> [exec] -- Configuring incomplete, errors occurred!
> [exec] JAVA_HOME=,
> JAVA_JVM_LIBRARY=/home/louis/ibm-java-i386-60/jre/lib/i386/classic/libjvm.so
> [exec] JAVA_INCLUDE_PATH=/home/louis/ibm-java-i386-60/include,
> JAVA_INCLUDE_PATH2=JAVA_INCLUDE_PATH2-NOTFOUND
> [exec] CMake Error at JNIFlags.cmake:113 (MESSAGE):
> [exec] Failed to find a viable JVM installation under JAVA_HOME.
> [exec] Call Stack (most recent call first):
> [exec] CMakeLists.txt:24 (include)
> The reason is that IBM java uses $JAVA_HOME/include/jniport.h instead of
> $JAVA_HOME/include/jni_md.h in non-IBM java.
> [exec]
> /usr/lib/jvm/java-1.6.0-ibm-1.6.0.12.0.x86_64/jre/lib/amd64/default/libjvm.so:
> undefined reference to `dlsym'
> [exec]
> /usr/lib/jvm/java-1.6.0-ibm-1.6.0.12.0.x86_64/jre/lib/amd64/default/libjvm.so:
> undefined reference to `dlerror'
> [exec]
> /usr/lib/jvm/java-1.6.0-ibm-1.6.0.12.0.x86_64/jre/lib/amd64/default/libjvm.so:
> undefined reference to `dladdr'
> [exec]
> /usr/lib/jvm/java-1.6.0-ibm-1.6.0.12.0.x86_64/jre/lib/amd64/default/libjvm.so:
> undefined reference to `dlopen'
> [exec]
> /usr/lib/jvm/java-1.6.0-ibm-1.6.0.12.0.x86_64/jre/lib/amd64/default/libjvm.so:
> undefined reference to `dlclose'
> [exec] collect2: ld returned 1 exit status
> [exec] make[2]: *** [test_libhdfs_ops] Error 1
> [exec] make[1]: *** [CMakeFiles/test_libhdfs_ops.dir/all] Error 2
> [exec] make: *** [all] Error
> The reason is libjvm.so need libdl when linking.
--
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