[03/29] hbase git commit: HBASE-20527 Remove unused code in MetaTableAccessor
HBASE-20527 Remove unused code in MetaTableAccessor Signed-off-by: Chia-Ping TsaiProject: 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/HBASE-19064 Commit: acd0d1e446c164d9c54bfb461b2d449c8d717c07 Parents: 291dedb Author: Mingdao Yang Authored: Sat May 5 01:58:02 2018 + Committer: Chia-Ping Tsai 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");
hbase git commit: HBASE-20527 Remove unused code in MetaTableAccessor
Repository: hbase Updated Branches: refs/heads/master 291dedbf8 -> acd0d1e44 HBASE-20527 Remove unused code in MetaTableAccessor Signed-off-by: Chia-Ping TsaiProject: 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 Authored: Sat May 5 01:58:02 2018 + Committer: Chia-Ping Tsai 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");
hbase git commit: HBASE-20527 Remove unused code in MetaTableAccessor
Repository: hbase Updated Branches: refs/heads/branch-2 991d78ca2 -> 2373451f9 HBASE-20527 Remove unused code in MetaTableAccessor Signed-off-by: Chia-Ping TsaiProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/2373451f Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/2373451f Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/2373451f Branch: refs/heads/branch-2 Commit: 2373451f94d8a71483213a82368031123a9d4815 Parents: 991d78c Author: Mingdao Yang Authored: Sat May 5 01:58:02 2018 + Committer: Chia-Ping Tsai Committed: Sat May 5 22:20:24 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/2373451f/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");
hbase git commit: HBASE-20527 Remove unused code in MetaTableAccessor
Repository: hbase Updated Branches: refs/heads/branch-2.0 81f69e585 -> d77989e9f HBASE-20527 Remove unused code in MetaTableAccessor Signed-off-by: Chia-Ping TsaiProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/d77989e9 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/d77989e9 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/d77989e9 Branch: refs/heads/branch-2.0 Commit: d77989e9f7b51f058d09694e5109e3aec05e0596 Parents: 81f69e5 Author: Mingdao Yang Authored: Sat May 5 22:26:12 2018 +0800 Committer: Chia-Ping Tsai Committed: Sat May 5 22:27:27 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/d77989e9/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 d6bbf53..1880a0d 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 @@ -137,16 +137,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"); - 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); - } - /** * Lists all of the table regions currently in META. * Deprecated, keep there until some test use this.