hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject hbase git commit: HBASE-14005 Set permission to .top hfile in LoadIncrementalHFiles (Francesco MDE)
Date Thu, 02 Jul 2015 15:47:55 GMT
Repository: hbase
Updated Branches:
  refs/heads/0.98 ebb476ba8 -> 8b9859b08


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/8b9859b0
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/8b9859b0
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/8b9859b0

Branch: refs/heads/0.98
Commit: 8b9859b08d19b2c875d0800809b25efba08f2502
Parents: ebb476b
Author: tedyu <yuzhihong@gmail.com>
Authored: Thu Jul 2 08:47:33 2015 -0700
Committer: tedyu <yuzhihong@gmail.com>
Committed: Thu Jul 2 08:47:33 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/8b9859b0/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 e3bc9ce..c07d5d4 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
@@ -552,6 +552,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.


Mime
View raw message