hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9320) Hadoop native build failure on ARM hard-float
Date Sun, 21 May 2017 15:50:05 GMT

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

ASF GitHub Bot commented on HADOOP-9320:
----------------------------------------

GitHub user amuttsch opened a pull request:

    https://github.com/apache/hadoop/pull/224

    HADOOP-9320 Fix Hadoop native build failure on ARM hard-float

    Moved the ARM JVM float ABI detection from `HadoopCommon.cmake` to `HadoopJNI.cmake`,
because `${JAVA_JVM_LIBRARY}` is not available in `HadoopCommon.cmake` yet and therefore the
build fails.
    
    This commit fixes this issue.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/amuttsch/hadoop HADOOP-9320

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/hadoop/pull/224.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #224
    
----
commit f40c8db28b382c21efa97bd892f778a1e51fedf7
Author: Andreas Muttscheller <andreas.muttscheller@gmail.com>
Date:   2017-05-21T15:45:41Z

    HADOOP-9320 Fix Hadoop native build failure on ARM hard-float

----


> Hadoop native build failure on ARM hard-float
> ---------------------------------------------
>
>                 Key: HADOOP-9320
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9320
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: native
>    Affects Versions: 2.0.3-alpha
>         Environment: $ uname -a
> Linux 3.5.0-1000-highbank #154-Ubuntu SMP Thu Jan 10 09:13:40 UTC 2013 armv7l armv7l
armv7l GNU/Linux
> $ java -version
> java version "1.8.0-ea"
> Java(TM) SE Runtime Environment (build 1.8.0-ea-b36e)
> Java HotSpot(TM) Client VM (build 25.0-b04, mixed mode)
>            Reporter: Trevor Robinson
>            Assignee: Trevor Robinson
>              Labels: BB2015-05-TBR, build-failure
>         Attachments: HADOOP-9320.patch
>
>
> ARM JVM float ABI detection is failing in JNIFlags.cmake because JAVA_JVM_LIBRARY is
not set at that point. The failure currently causes CMake to assume a soft-float JVM. This
causes the build to fail with hard-float OpenJDK (but don't use that) and [Oracle Java 8 Preview
for ARM|http://jdk8.java.net/fxarmpreview/]. Hopefully the April update of Oracle Java 7 will
support hard-float as well.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message