You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Allen Wittenauer (Resolved) (JIRA)" <ji...@apache.org> on 2011/11/02 19:21:34 UTC
[jira] [Resolved] (HADOOP-6491) JAVA_PLATFORM in hadoop shell
script lacks HADOOP_OPTS
[ https://issues.apache.org/jira/browse/HADOOP-6491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Allen Wittenauer resolved HADOOP-6491.
--------------------------------------
Resolution: Won't Fix
Building our own hadoop shell scripts. Closing as won't fix.
> JAVA_PLATFORM in hadoop shell script lacks HADOOP_OPTS
> ------------------------------------------------------
>
> Key: HADOOP-6491
> URL: https://issues.apache.org/jira/browse/HADOOP-6491
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 0.20.0, 0.20.1
> Reporter: Allen Wittenauer
>
> It appears to be expected behavior to be able to set the bitness in HADOOP_OPTS as well as other java executable options. However these options are not passed onto the JAVA_PLATFORM test used to configure the java.library.path at run time:
> JAVA_PLATFORM=`CLASSPATH=${CLASSPATH} ${JAVA} -Xmx32m org.apache.hadoop.util.PlatformName | sed -e "s/ /_/g"`
> If a user passes "-d64" to force 64-bit (at least on Solaris), this option is not sent to this code. Instead of returning "SunOS-amd64-64" as expected for 64-bit, it still returns "SunOS-x86-32" for 32-bit. Thus causing native compression to fail.
--
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