[
https://issues.apache.org/jira/browse/HADOOP-9488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13636597#comment-13636597
]
Chris Nauroth commented on HADOOP-9488:
---------------------------------------
This jira tracks a change that originated in MAPREDUCE-4987. The Hadoop Common
portion of that patch will be attached here.
> FileUtil#createJarWithClassPath only substitutes environment variables from
> current process environment/does not support overriding when launching new
> process
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-9488
> URL: https://issues.apache.org/jira/browse/HADOOP-9488
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Affects Versions: 3.0.0
> Reporter: Chris Nauroth
> Assignee: Chris Nauroth
>
> {{FileUtil#createJarWithClassPath}} always uses {{System#getEnv}} for
> substitution of environment variables in the classpath bundled into the jar
> manifest. YARN launches container processes with a different set of
> environment variables, so the method needs to support providing environment
> variables different from the current process.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira