static class TestEndToEndSplitTransaction.RegionChecker extends org.apache.hadoop.hbase.ScheduledChore
Modifier and Type | Field and Description |
---|---|
(package private) org.apache.hadoop.conf.Configuration |
conf |
(package private) org.apache.hadoop.hbase.client.Connection |
connection |
(package private) Throwable |
ex |
(package private) org.apache.hadoop.hbase.TableName |
tableName |
Constructor and Description |
---|
RegionChecker(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.hbase.Stoppable stopper,
org.apache.hadoop.hbase.TableName tableName) |
Modifier and Type | Method and Description |
---|---|
protected void |
chore() |
(package private) void |
verify() |
(package private) void |
verifyRegionsUsingHTable()
verify region boundaries obtained from HTable.getStartEndKeys()
|
(package private) void |
verifyRegionsUsingMetaTableAccessor()
verify region boundaries obtained from MetaScanner
|
(package private) void |
verifyStartEndKeys(org.apache.hadoop.hbase.util.Pair<byte[][],byte[][]> keys) |
(package private) void |
verifyTableRegions(Set<org.apache.hadoop.hbase.client.RegionInfo> regions) |
org.apache.hadoop.hbase.client.Connection connection
org.apache.hadoop.conf.Configuration conf
org.apache.hadoop.hbase.TableName tableName
RegionChecker(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.Stoppable stopper, org.apache.hadoop.hbase.TableName tableName) throws IOException
IOException
void verifyRegionsUsingMetaTableAccessor() throws Exception
Exception
void verifyRegionsUsingHTable() throws IOException
IOException
void verifyTableRegions(Set<org.apache.hadoop.hbase.client.RegionInfo> regions)
void verifyStartEndKeys(org.apache.hadoop.hbase.util.Pair<byte[][],byte[][]> keys)
protected void chore()
chore
in class org.apache.hadoop.hbase.ScheduledChore
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.