[
https://issues.apache.org/jira/browse/MAPREDUCE-3068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112751#comment-13112751
]
Arun C Murthy commented on MAPREDUCE-3068:
------------------------------------------
No, not another *-env.sh file.
It's simpler to make it configurable via yarn-site.xml.
Add a yarn.nodemanager.admin-env config which takes 'key=value','key=value' etc.
There is similar functionality for MR applications - take a look at
MRJobConfig.MAPRED_ADMIN_USER_ENV and how it's used in MapReduceChildJVM.setEnv
which uses MRApps.setEnvFromInputString. Maybe you can move
MRApps.setEnvFromInputString to yarn-common and use it.
> Should set MALLOC_ARENA_MAX for all YARN daemons and AMs/Containers
> -------------------------------------------------------------------
>
> Key: MAPREDUCE-3068
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3068
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Affects Versions: 0.23.0
> Reporter: Vinod Kumar Vavilapalli
> Assignee: Chris Riccomini
> Fix For: 0.23.0
>
> Attachments: MAPREDUCE-3068.diff
>
>
> This is same as HADOOP-7154 but for yarn. RM, NM, AM and containers should
> all have this.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira