[
https://issues.apache.org/jira/browse/HADOOP-9488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bikas Saha updated HADOOP-9488:
-------------------------------
Resolution: Fixed
Fix Version/s: 3.0.0
Status: Resolved (was: Patch Available)
+1. Committed to trunk.
> 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
> Fix For: 3.0.0
>
> Attachments: HADOOP-9488.1.patch, HADOOP-9488.consolidated.1.patch,
> HADOOP-9488.consolidated.2.patch
>
>
> {{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