hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dustin Cote (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2369) Environment variable handling assumes values should be appended
Date Thu, 19 Mar 2015 19:22:38 GMT

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

Dustin Cote commented on YARN-2369:
-----------------------------------

[~jlowe] or [~aw] is this one still needed?  If it is, I'd like to take a crack at it.  I've
had problems with the LD_LIBRARY_PATH in my own experiences, so if it's not fixed by something
else in a later version I think it should be.

> 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
>            Assignee: Dustin Cote
>
> 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.3.4#6332)

Mime
View raw message