You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2013/01/16 05:44:13 UTC
[jira] [Updated] (HADOOP-9211) HADOOP_CLIENT_OPTS default setting
fixes max heap size at 128m, disregards HADOOP_HEAPSIZE
[ https://issues.apache.org/jira/browse/HADOOP-9211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gopal V updated HADOOP-9211:
----------------------------
Attachment: hadoop-xmx.patch
I've been using the following patch locally to work around a similar problem.
Java takes the last -xmx opt it can find as the actual value, so moving the arg to the end of the opts seemed to help.
> HADOOP_CLIENT_OPTS default setting fixes max heap size at 128m, disregards HADOOP_HEAPSIZE
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-9211
> URL: https://issues.apache.org/jira/browse/HADOOP-9211
> Project: Hadoop Common
> Issue Type: Bug
> Components: conf
> Affects Versions: 2.0.2-alpha
> Reporter: Sarah Weissman
> Attachments: hadoop-xmx.patch
>
> Original Estimate: 1m
> Remaining Estimate: 1m
>
> hadoop-env.sh as included in the 2.0.2alpha release tarball contains:
> export HADOOP_CLIENT_OPTS="-Xmx128m $HADOOP_CLIENT_OPTS"
> This overrides any heap settings in HADOOP_HEAPSIZE.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira