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

Allen Wittenauer commented on YARN-2369:
----------------------------------------

Post-HADOOP-9902, I wonder if it would be worthwhile to have this configured at 
the shell level. i.e., Have something that both the Java code and the shell 
could could read that would list the semantics of each known/important shell 
var.  This way both could be smarter about overwrite vs. append vs. dedupe.

> Environment variable handling assumes values should be appended
> ---------------------------------------------------------------
>
>                 Key: YARN-2369
>                 URL: https://issues.apache.org/jira/browse/YARN-2369
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: Jason Lowe
>
> When processing environment variables for a container context the code 
> assumes that the value should be appended to any pre-existing value in the 
> environment.  This may be desired behavior for handling path-like environment 
> variables such as PATH, LD_LIBRARY_PATH, CLASSPATH, etc. but it is a 
> non-intuitive and harmful way to handle any variable that does not have 
> path-like semantics.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to