hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8659) Native libraries must build with soft-float ABI for Oracle JVM on ARM
Date Thu, 09 Aug 2012 08:20:20 GMT

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

Hadoop QA commented on HADOOP-8659:

-1 overall.  Here are the results of testing the latest attachment 
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  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.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit

    -1 core tests.  The patch failed these unit tests in hadoop-common-project/hadoop-common
hadoop-hdfs-project/hadoop-hdfs hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager:


    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/1271//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1271//console

This message is automatically generated.
> Native libraries must build with soft-float ABI for Oracle JVM on ARM
> ---------------------------------------------------------------------
>                 Key: HADOOP-8659
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8659
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: native
>         Environment: armhf Linux with Oracle JVM
>            Reporter: Trevor Robinson
>            Assignee: Trevor Robinson
>         Attachments: HADOOP-8659.patch, HADOOP-8659.patch, HADOOP-8659.patch
> There was recently an ABI (application binary interface) change in most Linux distributions
for modern ARM processors (ARMv7). Historically, hardware floating-point (FP) support was
optional/vendor-specific for ARM processors, so for software compatibility, the default ABI
required that processors with FP units copy FP arguments into integer registers (or memory)
when calling a shared library function. Now that hardware floating-point has been standardized
for some time, Linux distributions such as Ubuntu 12.04 have changed the default ABI to leave
FP arguments in FP registers, since this can significantly improve performance for FP libraries.
> Unfortunately, Oracle has not yet released a JVM (as of 7u4) that supports the new ABI,
presumably since this involves some non-trivial changes to components like JNI. While the
soft-float JVM can run on systems with multi-arch support (currently Debian/Ubuntu) using
compatibility libraries, this configuration requires that any third-party JNI libraries also
be compiled using the soft-float ABI. Since hard-float systems default to compiling for hard-float,
an extra argument to GCC (and installation of a compatibility library) is required to build
soft-float Hadoop native libraries that work with the Oracle JVM.
> Note that OpenJDK on hard-float systems does use the new ABI, and expects JNI libraries
to use it as well. Therefore the fix for this issue requires detecting the float ABI of the
current JVM.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message