MAPREDUCE-5357. Merging change r1499210 from trunk to branch-2.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1499217 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Chris Nauroth 2013-07-03 05:37:34 +00:00
parent 07a08e2941
commit 8c10908e1e
2 changed files with 4 additions and 0 deletions

View File

@ -475,6 +475,9 @@ Release 2.1.0-beta - 2013-07-02
MAPREDUCE-5359. JobHistory should not use File.separator to match timestamp
in path. (Chuan Liu via cnauroth)
MAPREDUCE-5357. Job staging directory owner checking could fail on Windows.
(Chuan Liu via cnauroth)
MAPREDUCE-5291. Change MR App to use updated property names in
container-log4j.properties. (Zhijie Shen via sseth)

View File

@ -124,6 +124,7 @@ public class JobSubmissionFiles {
} else {
fs.mkdirs(stagingArea,
new FsPermission(JOB_DIR_PERMISSION));
fs.setOwner(stagingArea, currentUser, null);
}
return stagingArea;
}