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

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

[~Jim_Brennan], +1 on patch 004. I've committed this to trunk (3.4) and 
branch-3.3. However there's a conflict in branch-3.2. Could you resolve this 
conflict if you'd like for it to be cherry-picked back further?

> 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, YARN-10664.004.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