hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Reix (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10968) hadoop native build fails to detect java_libarch on ppc64le
Date Wed, 18 Feb 2015 10:02:11 GMT

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

Tony Reix commented on HADOOP-10968:
------------------------------------

The 2 versions that shown issue with ppc64 arch are:

/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.71-2.5.3.4.ael7b.ppc64le
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75-2.5.4.4.ael7b.ppc64le

The version that I have tested with success is:
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.75-2.5.4.5.ael7b.ppc64le


Please note the comments in 121669 :
"It's good to keep in mind that  even if they "fix" it, both JDK7 and JDK8 have releases out
there that are reporting "ppc64" instead of "ppc64" for PPC64LE systems, so everyone will
have to either:
1. check for all conditions (os.arch "ppc64le" -OR- os.arch "ppc64" && sun.cpu.endian
"little") for backward compatibility with JDK7/JDK8 JVMs (lets hope no other JVM decides to
use "ppc64" without a way to tell the endianness)
2. Ignore releases that report "ppc64" for PPC64LE (and tell users not to use those versions)
Anyway, should they decide to fix it anyone depending on JDK9+ only (or ignoring backward
compatibility on JDK7/8) will be happy enough.
Hopefully, the life of 2.5.x on ppc64le platforms will be short-lived. 2.6.0 is due to be
released, following the upstream release of 7u80 in April."

It is not perfectly clear for me. At least, I understand that there will be a new 1.7 version
in April, and that JDK8 also has this issue. Not sure if they plan to fix it. I do not use
Java8.

> hadoop native build fails to detect java_libarch on ppc64le
> -----------------------------------------------------------
>
>                 Key: HADOOP-10968
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10968
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 2.3.0
>            Reporter: Dinar Valeev
>             Fix For: 2.6.0
>
>         Attachments: 0001-Set-java_libarch-for-ppc64le-2.patch
>
>
> [INFO] 
> [INFO] --- maven-antrun-plugin:1.7:run (make) @ hadoop-common ---
> [INFO] Executing tasks
> main:
>      [exec] -- The C compiler identification is GNU 4.8.3
>      [exec] -- The CXX compiler identification is GNU 4.8.3
>      [exec] -- Check for working C compiler: /usr/bin/cc
>      [exec] -- Check for working C compiler: /usr/bin/cc -- works
>      [exec] -- Detecting C compiler ABI info
>      [exec] -- Detecting C compiler ABI info - done
>      [exec] -- Check for working CXX compiler: /usr/bin/c++
>      [exec] -- Check for working CXX compiler: /usr/bin/c++ -- works
>      [exec] JAVA_HOME=, JAVA_JVM_LIBRARY=JAVA_JVM_LIBRARY-NOTFOUND
>      [exec] JAVA_INCLUDE_PATH=/usr/lib64/jvm/java-1.7.0-openjdk-1.7.0/include, JAVA_INCLUDE_PATH2=/usr/lib64/jvm/java-1.7.0-openjdk-1.7.0/include/linux
>      [exec] CMake Error at JNIFlags.cmake:114 (MESSAGE):
>      [exec]   Failed to find a viable JVM installation under JAVA_HOME.
>      [exec] Call Stack (most recent call first):
>      [exec]   CMakeLists.txt:24 (include)
>      [exec] 
>      [exec] 
>      [exec] -- Detecting CXX compiler ABI info
>      [exec] -- Detecting CXX compiler ABI info - done
>      [exec] -- Configuring incomplete, errors occurred!
>      [exec] See also "/root/bigtop/build/hadoop/rpm/BUILD/hadoop-2.3.0-src/hadoop-common-project/hadoop-common/target/native/CMakeFiles/CMakeOutput.log".
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Apache Hadoop Main ................................. SUCCESS [ 10.680 s]
> [INFO] Apache Hadoop Project POM .......................... SUCCESS [  0.716 s]
> [INFO] Apache Hadoop Annotations .......................... SUCCESS [  3.270 s]
> [INFO] Apache Hadoop Assemblies ........................... SUCCESS [  0.274 s]
> [INFO] Apache Hadoop Project Dist POM ..................... SUCCESS [  1.819 s]
> [INFO] Apache Hadoop Maven Plugins ........................ SUCCESS [  3.284 s]
> [INFO] Apache Hadoop MiniKDC .............................. SUCCESS [  2.863 s]
> [INFO] Apache Hadoop Auth ................................. SUCCESS [  4.032 s]
> [INFO] Apache Hadoop Auth Examples ........................ SUCCESS [  2.475 s]
> [INFO] Apache Hadoop Common ............................... FAILURE [ 10.458 s]
> [INFO] Apache Hadoop NFS .................................. SKIPPED
> [INFO] Apache Hadoop Common Project ....................... SKIPPED
> [INFO] Apache Hadoop HDFS ................................. SKIPPED
> [INFO] Apache Hadoop HttpFS ............................... SKIPPED
> [INFO] Apache Hadoop HDFS BookKeeper Journal .............. SKIPPED
> [INFO] Apache Hadoop HDFS-NFS ............................. SKIPPED
> [INFO] Apache Hadoop HDFS Project ......................... SKIPPED
> [INFO] hadoop-yarn ........................................ SKIPPED
> [INFO] hadoop-yarn-api .................................... SKIPPED
> [INFO] hadoop-yarn-common ................................. SKIPPED
> [INFO] hadoop-yarn-server ................................. SKIPPED
> [INFO] hadoop-yarn-server-common .......................... SKIPPED
> [INFO] hadoop-yarn-server-nodemanager ..................... SKIPPED
> [INFO] hadoop-yarn-server-web-proxy ....................... SKIPPED
> [INFO] hadoop-yarn-server-resourcemanager ................. SKIPPED
> [INFO] hadoop-yarn-server-tests ........................... SKIPPED
> [INFO] hadoop-yarn-client ................................. SKIPPED
> [INFO] hadoop-yarn-applications ........................... SKIPPED
> [INFO] hadoop-yarn-applications-distributedshell .......... SKIPPED
> [INFO] hadoop-yarn-applications-unmanaged-am-launcher ..... SKIPPED
> [INFO] hadoop-yarn-site ................................... SKIPPED
> [INFO] hadoop-yarn-project ................................ SKIPPED
> [INFO] hadoop-mapreduce-client ............................ SKIPPED
> [INFO] hadoop-mapreduce-client-core ....................... SKIPPED
> [INFO] hadoop-mapreduce-client-common ..................... SKIPPED
> [INFO] hadoop-mapreduce-client-shuffle .................... SKIPPED
> [INFO] hadoop-mapreduce-client-app ........................ SKIPPED
> [INFO] hadoop-mapreduce-client-hs ......................... SKIPPED
> [INFO] hadoop-mapreduce-client-jobclient .................. SKIPPED
> [INFO] hadoop-mapreduce-client-hs-plugins ................. SKIPPED
> [INFO] Apache Hadoop MapReduce Examples ................... SKIPPED
> [INFO] hadoop-mapreduce ................................... SKIPPED
> [INFO] Apache Hadoop MapReduce Streaming .................. SKIPPED
> [INFO] Apache Hadoop Distributed Copy ..................... SKIPPED
> [INFO] Apache Hadoop Archives ............................. SKIPPED
> [INFO] Apache Hadoop Rumen ................................ SKIPPED
> [INFO] Apache Hadoop Gridmix .............................. SKIPPED
> [INFO] Apache Hadoop Data Join ............................ SKIPPED
> [INFO] Apache Hadoop Extras ............................... SKIPPED
> [INFO] Apache Hadoop Pipes ................................ SKIPPED
> [INFO] Apache Hadoop OpenStack support .................... SKIPPED
> [INFO] Apache Hadoop Client ............................... SKIPPED
> [INFO] Apache Hadoop Mini-Cluster ......................... SKIPPED
> [INFO] Apache Hadoop Scheduler Load Simulator ............. SKIPPED
> [INFO] Apache Hadoop Tools Dist ........................... SKIPPED
> [INFO] Apache Hadoop Tools ................................ SKIPPED
> [INFO] Apache Hadoop Distribution ......................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 42.273 s
> [INFO] Finished at: 2014-08-13T00:43:06+02:00
> [INFO] Final Memory: 61M/465M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (make)
on project hadoop-common: An Ant BuildException has occured: exec returned: 1
> [ERROR] around Ant part ...<exec dir="/root/bigtop/build/hadoop/rpm/BUILD/hadoop-2.3.0-src/hadoop-common-project/hadoop-common/target/native"
executable="cmake" failonerror="true">... @ 4:156 in /root/bigtop/build/hadoop/rpm/BUILD/hadoop-2.3.0-src/hadoop-common-project/hadoop-common/target/antrun/build-main.xml
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the
following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :hadoop-common
> error: Bad exit status from /var/tmp/rpm-tmp.suXMUs (%build)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message