You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2010/01/14 01:28:54 UTC
[jira] Created: (COMDEV-12) JAVA_PLATFORM in hadoop shell script
lacks HADOOP_OPTS
JAVA_PLATFORM in hadoop shell script lacks HADOOP_OPTS
------------------------------------------------------
Key: COMDEV-12
URL: https://issues.apache.org/jira/browse/COMDEV-12
Project: Community Development
Issue Type: Bug
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.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (COMDEV-12) JAVA_PLATFORM in hadoop shell script
lacks HADOOP_OPTS
Posted by "Allen Wittenauer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COMDEV-12?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12800036#action_12800036 ]
Allen Wittenauer commented on COMDEV-12:
----------------------------------------
Bah. wrong category. Closing.
> JAVA_PLATFORM in hadoop shell script lacks HADOOP_OPTS
> ------------------------------------------------------
>
> Key: COMDEV-12
> URL: https://issues.apache.org/jira/browse/COMDEV-12
> Project: Community Development
> Issue Type: Bug
> 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.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (COMDEV-12) JAVA_PLATFORM in hadoop shell script
lacks HADOOP_OPTS
Posted by "Allen Wittenauer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COMDEV-12?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Allen Wittenauer resolved COMDEV-12.
------------------------------------
Resolution: Not A Problem
> JAVA_PLATFORM in hadoop shell script lacks HADOOP_OPTS
> ------------------------------------------------------
>
> Key: COMDEV-12
> URL: https://issues.apache.org/jira/browse/COMDEV-12
> Project: Community Development
> Issue Type: Bug
> 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.
-
You can reply to this email to add a comment to the issue online.