Repository: hbase
Updated Branches:
  refs/heads/master 291dedbf8 -> acd0d1e44


HBASE-20527 Remove unused code in MetaTableAccessor

Signed-off-by: Chia-Ping Tsai <chia7...@gmail.com>


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

Branch: refs/heads/master
Commit: acd0d1e446c164d9c54bfb461b2d449c8d717c07
Parents: 291dedb
Author: Mingdao Yang <mingd...@gmail.com>
Authored: Sat May 5 01:58:02 2018 +0000
Committer: Chia-Ping Tsai <chia7...@gmail.com>
Committed: Sat May 5 22:15:54 2018 +0800

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/MetaTableAccessor.java   | 10 ----------
 1 file changed, 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/acd0d1e4/hbase-client/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java
----------------------------------------------------------------------
diff --git 
a/hbase-client/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java 
b/hbase-client/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java
index e8ce811..91f3cf7 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java
@@ -143,16 +143,6 @@ public class MetaTableAccessor {
   private static final Logger LOG = 
LoggerFactory.getLogger(MetaTableAccessor.class);
   private static final Logger METALOG = 
LoggerFactory.getLogger("org.apache.hadoop.hbase.META");
 
-  private static final byte[] META_REGION_PREFIX;
-  static {
-    // Copy the prefix from FIRST_META_REGIONINFO into META_REGION_PREFIX.
-    // FIRST_META_REGIONINFO == 'hbase:meta,,1'.  META_REGION_PREFIX == 
'hbase:meta,'
-    int len = RegionInfoBuilder.FIRST_META_REGIONINFO.getRegionName().length - 
2;
-    META_REGION_PREFIX = new byte [len];
-    System.arraycopy(RegionInfoBuilder.FIRST_META_REGIONINFO.getRegionName(), 
0,
-      META_REGION_PREFIX, 0, len);
-  }
-
   @VisibleForTesting
   public static final byte[] REPLICATION_PARENT_QUALIFIER = 
Bytes.toBytes("parent");
 

Reply via email to