public class TestRegionObserverScannerOpenHook extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestRegionObserverScannerOpenHook.CompactionCompletionNotifyingRegion |
static class |
TestRegionObserverScannerOpenHook.EmptyRegionObsever
Do the default logic in
RegionObserver interface. |
static class |
TestRegionObserverScannerOpenHook.NoDataFilter |
static class |
TestRegionObserverScannerOpenHook.NoDataFromCompaction
Don't allow any data to be written out in the compaction by creating a custom
StoreScanner . |
static class |
TestRegionObserverScannerOpenHook.NoDataFromFlush
Don't allow any data in a flush by creating a custom
StoreScanner . |
static class |
TestRegionObserverScannerOpenHook.NoDataFromScan
Don't return any data from a scan by creating a custom
StoreScanner . |
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
(package private) static org.apache.hadoop.fs.Path |
DIR |
org.junit.rules.TestName |
name |
private static org.apache.hadoop.hbase.regionserver.InternalScanner |
NO_DATA |
private static HBaseTestingUtility |
UTIL |
Constructor and Description |
---|
TestRegionObserverScannerOpenHook() |
Modifier and Type | Method and Description |
---|---|
(package private) org.apache.hadoop.hbase.regionserver.HRegion |
initHRegion(byte[] tableName,
String callingMethod,
org.apache.hadoop.conf.Configuration conf,
byte[]... families) |
void |
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
|
void |
testRegionObserverFlushTimeStacking() |
void |
testRegionObserverScanTimeStacking() |
public static final HBaseClassTestRule CLASS_RULE
private static HBaseTestingUtility UTIL
static final org.apache.hadoop.fs.Path DIR
public org.junit.rules.TestName name
private static final org.apache.hadoop.hbase.regionserver.InternalScanner NO_DATA
public TestRegionObserverScannerOpenHook()
org.apache.hadoop.hbase.regionserver.HRegion initHRegion(byte[] tableName, String callingMethod, org.apache.hadoop.conf.Configuration conf, byte[]... families) throws IOException
IOException
public void testRegionObserverScanTimeStacking() throws Exception
Exception
public void testRegionObserverFlushTimeStacking() throws Exception
Exception
public void testRegionObserverCompactionTimeStacking() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.