Class TestEndToEndSplitTransaction.RegionChecker
java.lang.Object
org.apache.hadoop.hbase.ScheduledChore
org.apache.hadoop.hbase.regionserver.TestEndToEndSplitTransaction.RegionChecker
- All Implemented Interfaces:
Runnable
- Enclosing class:
- TestEndToEndSplitTransaction
static class TestEndToEndSplitTransaction.RegionChecker
extends org.apache.hadoop.hbase.ScheduledChore
Checks regions using MetaTableAccessor and HTable methods
-
Field Summary
Modifier and TypeFieldDescription(package private) org.apache.hadoop.conf.Configuration
(package private) org.apache.hadoop.hbase.client.Connection
(package private) Throwable
(package private) org.apache.hadoop.hbase.TableName
-
Constructor Summary
ConstructorDescriptionRegionChecker
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.Stoppable stopper, org.apache.hadoop.hbase.TableName tableName) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
chore()
(package private) void
verify()
(package private) void
verify region boundaries obtained from HTable.getStartEndKeys()(package private) void
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) Methods inherited from class org.apache.hadoop.hbase.ScheduledChore
cancel, cancel, choreForTesting, cleanup, getInitialDelay, getName, getPeriod, getStopper, getTimeUnit, initialChore, isInitialChoreComplete, isScheduled, run, shutdown, shutdown, toString, triggerNow
-
Field Details
-
connection
org.apache.hadoop.hbase.client.Connection connection -
conf
org.apache.hadoop.conf.Configuration conf -
tableName
org.apache.hadoop.hbase.TableName tableName -
ex
-
-
Constructor Details
-
RegionChecker
RegionChecker(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.Stoppable stopper, org.apache.hadoop.hbase.TableName tableName) throws IOException - Throws:
IOException
-
-
Method Details
-
verifyRegionsUsingMetaTableAccessor
verify region boundaries obtained from MetaScanner- Throws:
Exception
-
verifyRegionsUsingHTable
verify region boundaries obtained from HTable.getStartEndKeys()- Throws:
IOException
-
verify
- Throws:
Exception
-
verifyTableRegions
-
verifyStartEndKeys
-
chore
- Specified by:
chore
in classorg.apache.hadoop.hbase.ScheduledChore
-