Class TestRegionObserverScannerOpenHook
java.lang.Object
org.apache.hadoop.hbase.coprocessor.TestRegionObserverScannerOpenHook
@Tag("org.apache.hadoop.hbase.testclassification.CoprocessorTests") @Tag("org.apache.hadoop.hbase.testclassification.MediumTests")
public class TestRegionObserverScannerOpenHook
extends Object
-
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 TypeFieldDescriptionprivate String(package private) static final org.apache.hadoop.fs.Pathprivate 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) voidsetUp(org.junit.jupiter.api.TestInfo testInfo) 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
-
UTIL
-
DIR
-
currentTestName
-
NO_DATA
-
-
Constructor Details
-
TestRegionObserverScannerOpenHook
public TestRegionObserverScannerOpenHook()
-
-
Method Details
-
setUp
-
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
-