HBASE-20527 Remove unused code in MetaTableAccessor
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
parent
991d78ca2b
commit
2373451f94
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue