hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9488) FileUtil#createJarWithClassPath only substitutes environment variables from current process environment/does not support overriding when launching new process
Date Sat, 20 Apr 2013 14:09:18 GMT

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

Hudson commented on HADOOP-9488:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk #1405 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1405/])
    HADOOP-9488. FileUtil#createJarWithClassPath only substitutes environment variables from
current process environment/does not support overriding when launching new process (Chris
Nauroth via bikas) (Revision 1469996)

     Result = SUCCESS
bikas : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1469996
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileUtil.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestFileUtil.java

                
> 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

Mime
View raw message