[ 
https://issues.apache.org/jira/browse/YARN-10664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17295583#comment-17295583
 ] 

Eric Badger commented on YARN-10664:
------------------------------------

[~Jim_Brennan], with moving {{expandEnvironment}} to after {{sanitizeEnv}}, are 
there any incompatible changes that will occur due to this change? I don't 
think there will be, but would like for you to confirm with your own thoughts

> Allow parameter expansion in NM_ADMIN_USER_ENV
> ----------------------------------------------
>
>                 Key: YARN-10664
>                 URL: https://issues.apache.org/jira/browse/YARN-10664
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: yarn
>    Affects Versions: 2.10.1, 3.4.0
>            Reporter: Jim Brennan
>            Assignee: Jim Brennan
>            Priority: Major
>         Attachments: YARN-10664.001.patch, YARN-10664.002.patch, 
> YARN-10664.003.patch
>
>
> Currently, {{YarnConfiguration.NM_ADMIN_USER_ENV}} does not do parameter 
> expansion.  That is, you cannot specify an environment variable such as 
> {code}{{JAVA_HOME}}{code} and have it be expanded to {{$JAVA_HOME}} inside 
> the container.
> We have a need for this in specifying different java gc options for java 
> processing running inside yarn containers based on which version of java is 
> being used.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to