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-6895) Native Libraries do not load if a different platform signature is returned from org.apache.hadoop.util.PlatformName
Date Mon, 02 Aug 2010 20:30:18 GMT

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

Hadoop QA commented on HADOOP-6895:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12451070/HADOOP-6895.patch
  against trunk revision 980953.

    +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 javadoc.  The javadoc tool appears to have generated 1 warning messages.

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

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

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

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

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

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/658/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/658/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/658/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h4.grid.sp2.yahoo.net/658/console

This message is automatically generated.

> Native Libraries do not load if a different platform signature is returned from org.apache.hadoop.util.PlatformName
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-6895
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6895
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: native
>         Environment: SLES 10, IBM Java 6, Hadoop 0.21.0-rc0
>            Reporter: Stephen Watt
>            Priority: Minor
>             Fix For: 0.21.0, 0.22.0
>
>         Attachments: HADOOP-6895.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> bin/hadoop-config.sh has an environment variable called JAVA_PLATFORM which is set to
to the results returned by org.apache.hadoop.util.PlatformName . These results are sometimes
unique to the JRE being used. Although the value returned for 64 Bit Sun/Oracle Java and 64
Bit IBM Java is the same, it is different for the corresponding 32 Bit JREs. 
> The issue is that the value returned is used in creating the path to the native libraries
on disk, i.e ${HADOOP_COMMON_HOME}/lib/native/${JAVA_PLATFORM}
> Since the path on disk is fixed with the Sun JRE value /lib/native/Linux-i386-32 it therefore
fails when it attempts to load the native libraries with the value returned with 32 Bit IBM
Java, /lib/native/Linux-x86-32

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message