Repository: hbase Updated Branches: refs/heads/branch-1.0 708293487 -> 62a88087a
HBASE-14005 Set permission to .top hfile in LoadIncrementalHFiles (Francesco MDE) Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/62a88087 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/62a88087 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/62a88087 Branch: refs/heads/branch-1.0 Commit: 62a88087a7990e95fdf313bb68c4c4c475b12cdd Parents: 7082934 Author: tedyu <yuzhih...@gmail.com> Authored: Thu Jul 2 08:44:53 2015 -0700 Committer: tedyu <yuzhih...@gmail.com> Committed: Thu Jul 2 08:44:53 2015 -0700 ---------------------------------------------------------------------- .../org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.java | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/62a88087/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.java ---------------------------------------------------------------------- diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.java index 8d4a002..1bb11c2 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/LoadIncrementalHFiles.java @@ -579,6 +579,7 @@ public class LoadIncrementalHFiles extends Configured implements Tool { FileSystem fs = tmpDir.getFileSystem(getConf()); fs.setPermission(tmpDir, FsPermission.valueOf("-rwxrwxrwx")); fs.setPermission(botOut, FsPermission.valueOf("-rwxrwxrwx")); + fs.setPermission(topOut, FsPermission.valueOf("-rwxrwxrwx")); // Add these back at the *front* of the queue, so there's a lower // chance that the region will just split again before we get there.