JT should not try to remove mapred.system.dir during startup
------------------------------------------------------------

                 Key: MAPREDUCE-2219
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2219
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: jobtracker
    Affects Versions: 0.22.0
            Reporter: Todd Lipcon


During startup, the JT tries to clean up mapred.system.dir by recursively 
removing it and then recreating it. This requires that mapred.system.dir is 
inside a directory owned by the mapred user. For example, if set to 
/system/mapred then /system must be owned by the mapred account. This isn't 
documented properly and also seems unnecessary. Instead we can remove the 
*contents* of mapred.system.dir instead of the directory itself.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to