[
https://issues.apache.org/jira/browse/YARN-919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13709088#comment-13709088
]
Hitesh Shah commented on YARN-919:
----------------------------------
[~mayank_bansal] Yes, that sounds good.
Something like:
export
YARN_RESOURCEMANAGER_HEAPSIZE=${YARN_RESOURCEMANAGER_HEAPSIZE:-<default/recommended
value>}
export
YARN_RESOURCEMANAGER_OPTS=${YARN_RESOURCEMANAGER_OPTS:-<default/recommended
settings>}
should be enough to account for docs. yarn-env.sh is expected to be overwritten
by the user in any case as part of a deployment.
> Setting default heap sizes in yarn env
> --------------------------------------
>
> Key: YARN-919
> URL: https://issues.apache.org/jira/browse/YARN-919
> Project: Hadoop YARN
> Issue Type: Bug
> Affects Versions: 2.1.0-beta
> Reporter: Mayank Bansal
> Assignee: Mayank Bansal
> Priority: Minor
> Attachments: YARN-919-trunk-1.patch
>
>
> Right now there are no defaults in yarn env scripts for resource manager nad
> node manager and if user wants to override that, then user has to go to
> documentation and find the variables and change the script.
> There is no straight forward way to change it in script. Just updating the
> variables with defaults.
--
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