Skip to content

Commit 39054e3

Browse files
committed
MAPREDUCE-5357. Merging change r1499217 from branch-2 to branch-2.1-beta.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2.1-beta@1499218 13f79535-47bb-0310-9956-ffa450edef68
1 parent 4d96582 commit 39054e3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

hadoop-mapreduce-project/CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,9 @@ Release 2.1.0-beta - 2013-07-02
442442
MAPREDUCE-5359. JobHistory should not use File.separator to match timestamp
443443
in path. (Chuan Liu via cnauroth)
444444

445+
MAPREDUCE-5357. Job staging directory owner checking could fail on Windows.
446+
(Chuan Liu via cnauroth)
447+
445448
MAPREDUCE-5291. Change MR App to use updated property names in
446449
container-log4j.properties. (Zhijie Shen via sseth)
447450

hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/JobSubmissionFiles.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ public static Path getStagingDir(Cluster cluster, Configuration conf)
124124
} else {
125125
fs.mkdirs(stagingArea,
126126
new FsPermission(JOB_DIR_PERMISSION));
127+
fs.setOwner(stagingArea, currentUser, null);
127128
}
128129
return stagingArea;
129130
}

0 commit comments

Comments
 (0)