hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trevor Robinson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9320) Hadoop native build failure on ARM hard-float
Date Mon, 09 Dec 2013 22:59:07 GMT

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

Trevor Robinson commented on HADOOP-9320:

Could someone please commit this patch? The build is broken for ARM hard-float systems, which
are now the default. (Oracle 7u40 supports armhf.) This fix trivially reorders two chunks
of JNIFlags.cmake so that JAVA_JVM_LIBRARY is defined before it is used, and it has no effect
on other platforms. Thanks.

> 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: 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

View raw message