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

Harsh J updated MAPREDUCE-4066:
-------------------------------

          Resolution: Fixed
       Fix Version/s: 0.23.3
    Target Version/s:   (was: 0.23.3, 0.24.0)
        Hadoop Flags: Reviewed
              Status: Resolved  (was: Patch Available)

Committed to trunk and branch-0.23. Thanks for your contribution xieguiming! 
Hoping to see more :)
                
> 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

        

Reply via email to