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:
parent
07a08e2941
commit
8c10908e1e
|
@ -475,6 +475,9 @@ Release 2.1.0-beta - 2013-07-02
|
||||||
MAPREDUCE-5359. JobHistory should not use File.separator to match timestamp
|
MAPREDUCE-5359. JobHistory should not use File.separator to match timestamp
|
||||||
in path. (Chuan Liu via cnauroth)
|
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
|
MAPREDUCE-5291. Change MR App to use updated property names in
|
||||||
container-log4j.properties. (Zhijie Shen via sseth)
|
container-log4j.properties. (Zhijie Shen via sseth)
|
||||||
|
|
||||||
|
|
|
@ -124,6 +124,7 @@ public class JobSubmissionFiles {
|
||||||
} else {
|
} else {
|
||||||
fs.mkdirs(stagingArea,
|
fs.mkdirs(stagingArea,
|
||||||
new FsPermission(JOB_DIR_PERMISSION));
|
new FsPermission(JOB_DIR_PERMISSION));
|
||||||
|
fs.setOwner(stagingArea, currentUser, null);
|
||||||
}
|
}
|
||||||
return stagingArea;
|
return stagingArea;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue