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

Devaraj K updated MAPREDUCE-3056:
---------------------------------

    Fix Version/s: 0.24.0
           Status: Patch Available  (was: Open)

1. The default value of staging dir uses the ${user.name}. It is getting 
substituted in the app master with the server user name but it should use the 
client user name. 

     For this issue, as per ATM suggestion I have removed the user.name from 
the default staging dir. 

2. Here the staging area dir uses the user name. It was using the system user 
name for this in couple of places and I have changed it to job submitted user 
name. 


{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} 
                
> Jobs are failing when those are submitted by other users
> --------------------------------------------------------
>
>                 Key: MAPREDUCE-3056
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3056
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: applicationmaster, mrv2
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Devaraj K
>            Assignee: Devaraj K
>            Priority: Blocker
>             Fix For: 0.23.0, 0.24.0
>
>         Attachments: MAPREDUCE-3056.patch
>
>
> MR cluster is started by the user 'root'. If any other users other than 
> 'root' submit a job, it is failing always.
> Find the conatiner logs in the comments section.

--
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