hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From la...@apache.org
Subject [07/50] [abbrv] hbase git commit: HBASE-16803 Make hbase:acl table unsplittable
Date Tue, 01 Nov 2016 19:49:31 GMT
HBASE-16803 Make hbase:acl table unsplittable


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/408a9eb8
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/408a9eb8
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/408a9eb8

Branch: refs/heads/branch-1
Commit: 408a9eb8a303e9f0db5eecaa77c30f28ff521d07
Parents: f13a216
Author: tedyu <yuzhihong@gmail.com>
Authored: Tue Oct 11 12:50:05 2016 -0700
Committer: tedyu <yuzhihong@gmail.com>
Committed: Tue Oct 11 12:50:05 2016 -0700

----------------------------------------------------------------------
 .../apache/hadoop/hbase/security/access/AccessControlLists.java   | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/408a9eb8/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessControlLists.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessControlLists.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessControlLists.java
index 50d575e..b20c110 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessControlLists.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessControlLists.java
@@ -62,6 +62,7 @@ import org.apache.hadoop.hbase.master.MasterServices;
 import org.apache.hadoop.hbase.protobuf.ProtobufUtil;
 import org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos;
 import org.apache.hadoop.hbase.regionserver.BloomType;
+import org.apache.hadoop.hbase.regionserver.DisabledRegionSplitPolicy;
 import org.apache.hadoop.hbase.regionserver.InternalScanner;
 import org.apache.hadoop.hbase.regionserver.Region;
 import org.apache.hadoop.hbase.security.User;
@@ -136,6 +137,8 @@ public class AccessControlLists {
         // Set cache data blocks in L1 if more than one cache tier deployed; e.g. this will
         // be the case if we are using CombinedBlockCache (Bucket Cache).
         .setCacheDataInL1(true));
+    ACL_TABLEDESC.setValue(HTableDescriptor.SPLIT_POLICY,
+        DisabledRegionSplitPolicy.class.getName());
     master.createSystemTable(ACL_TABLEDESC);
   }
 


Mime
View raw message