Class TestRegionObserverScannerOpenHook
java.lang.Object
org.apache.hadoop.hbase.coprocessor.TestRegionObserverScannerOpenHook
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Do the default logic inRegionObserver
interface.static class
static class
Don't allow any data to be written out in the compaction by creating a customStoreScanner
.static class
Don't allow any data in a flush by creating a customStoreScanner
.static class
Don't return any data from a scan by creating a customStoreScanner
. -
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
(package private) static final org.apache.hadoop.fs.Path
org.junit.rules.TestName
private static final org.apache.hadoop.hbase.regionserver.InternalScanner
private static HBaseTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) org.apache.hadoop.hbase.regionserver.HRegion
initHRegion
(byte[] tableName, String callingMethod, org.apache.hadoop.conf.Configuration conf, byte[]... families) void
Unfortunately, the easiest way to test this is to spin up a mini-cluster since we want to do the usual compaction mechanism on the region, rather than going through the backdoor to the regionvoid
void
-
Field Details
-
CLASS_RULE
-
UTIL
-
DIR
-
name
-
NO_DATA
-
-
Constructor Details
-
TestRegionObserverScannerOpenHook
public TestRegionObserverScannerOpenHook()
-
-
Method Details
-
initHRegion
org.apache.hadoop.hbase.regionserver.HRegion initHRegion(byte[] tableName, String callingMethod, org.apache.hadoop.conf.Configuration conf, byte[]... families) throws IOException - Throws:
IOException
-
testRegionObserverScanTimeStacking
- Throws:
Exception
-
testRegionObserverFlushTimeStacking
- Throws:
Exception
-
testRegionObserverCompactionTimeStacking
Unfortunately, the easiest way to test this is to spin up a mini-cluster since we want to do the usual compaction mechanism on the region, rather than going through the backdoor to the region- Throws:
Exception
-