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:41:53 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 9aeda3661 -> 5e9b6b8c3


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

Branch: refs/heads/branch-1
Commit: 5e9b6b8c3d76a385e553acc18531b853a34f04f6
Parents: 9aeda36
Author: tedyu <yuzhihong@gmail.com>
Authored: Thu Jul 2 08:41:48 2015 -0700
Committer: tedyu <yuzhihong@gmail.com>
Committed: Thu Jul 2 08:41:48 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/5e9b6b8c/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 417deec..8b61e48 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
@@ -602,6 +602,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