hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-4066) To get "yarn.app.mapreduce.am.staging-dir" value, should set the default value
Date Tue, 27 Mar 2012 14:00:29 GMT

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

Hudson commented on MAPREDUCE-4066:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk #1032 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1032/])
    MAPREDUCE-4066. Use default value when fetching MR_AM_STAGING_DIR. Contributed by xieguiming.
(Revision 1305343)

     Result = SUCCESS
harsh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1305343
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/main/java/org/apache/hadoop/mapreduce/v2/jobhistory/JobHistoryUtils.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/main/java/org/apache/hadoop/mapreduce/v2/util/MRApps.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/MRJobConfig.java

                
> To get "yarn.app.mapreduce.am.staging-dir" value, should set the default value
> ------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4066
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4066
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: job submission, mrv2
>    Affects Versions: 0.23.1
>         Environment: client is windows eclipse, server is suse
>            Reporter: xieguiming
>            Priority: Minor
>             Fix For: 0.23.3
>
>         Attachments: MAPREDUCE-4066.patch, MAPREDUCE-4066.patch
>
>
> when submit the job use the windows eclipse, and the yarn.app.mapreduce.am.staging-dir
value is null.
> {code:title=MRApps.java|borderStyle=solid}
>   public static Path getStagingAreaDir(Configuration conf, String user) {
>     return new Path(
>         conf.get(MRJobConfig.MR_AM_STAGING_DIR) + 
>         Path.SEPARATOR + user + Path.SEPARATOR + STAGING_CONSTANT);
>   }
> {code}
> should modify to:
> {code:title=MRApps.java|borderStyle=solid}
>   public static Path getStagingAreaDir(Configuration conf, String user) {
>     return new Path(
>         conf.get(MRJobConfig.MR_AM_STAGING_DIR,"/tmp/hadoop-yarn/staging") + 
>         Path.SEPARATOR + user + Path.SEPARATOR + STAGING_CONSTANT);
>   }
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message