Class TestRegionObserverScannerOpenHook
java.lang.Object
org.apache.hadoop.hbase.coprocessor.TestRegionObserverScannerOpenHook
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classDo the default logic inRegionObserverinterface.static classstatic classDon't allow any data to be written out in the compaction by creating a customStoreScanner.static classDon't allow any data in a flush by creating a customStoreScanner.static classDon't return any data from a scan by creating a customStoreScanner. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRule(package private) static final org.apache.hadoop.fs.Pathorg.junit.rules.TestNameprivate static final org.apache.hadoop.hbase.regionserver.InternalScannerprivate static HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) org.apache.hadoop.hbase.regionserver.HRegioninitHRegion(byte[] tableName, String callingMethod, org.apache.hadoop.conf.Configuration conf, byte[]... families) voidUnfortunately, 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 regionvoidvoid
-
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
-