You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2013/04/19 19:07:16 UTC

[jira] [Updated] (HADOOP-9488) FileUtil#createJarWithClassPath only substitutes environment variables from current process environment/does not support overriding when launching new process

     [ https://issues.apache.org/jira/browse/HADOOP-9488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Nauroth updated HADOOP-9488:
----------------------------------

    Attachment: HADOOP-9488.1.patch

Attaching patch containing just the Hadoop Common portion of the changes.  This code has already been reviewed as part of MAPREDUCE-4987.
                
> 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
>         Attachments: HADOOP-9488.1.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