Class TestRegionObserverInterface
java.lang.Object
org.apache.hadoop.hbase.coprocessor.TestRegionObserverInterface
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classprivate static class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final byte[]static final byte[]static final byte[]static final HBaseClassTestRuleprivate static SingleProcessHBaseClusterstatic final byte[]private static final org.slf4j.Loggerorg.junit.rules.TestNamestatic final byte[]static final org.apache.hadoop.hbase.TableNameprivate static HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprivate static voidcreateHFile(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, byte[] family, byte[] qualifier) static voidstatic voidvoidvoidvoidvoidvoidvoidvoidTests overriding compaction handling via coprocessor hooksvoidvoidvoidvoidvoidprivate voidtestPreWALAppendHook(org.apache.hadoop.hbase.client.Table table, org.apache.hadoop.hbase.TableName tableName) voidvoidvoidvoidvoidvoidprivate voidverifyMethodResult(Class<?> coprocessor, String[] methodName, org.apache.hadoop.hbase.TableName tableName, Object[] value)
-
Field Details
-
CLASS_RULE
-
LOG
-
TEST_TABLE
-
FAMILY
-
A
-
B
-
C
-
ROW
-
util
-
cluster
-
name
-
-
Constructor Details
-
TestRegionObserverInterface
public TestRegionObserverInterface()
-
-
Method Details
-
setupBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
testRegionObserver
- Throws:
IOException
-
testRowMutation
- Throws:
IOException
-
testIncrementHook
- Throws:
IOException
-
testCheckAndPutHooks
- Throws:
IOException
-
testCheckAndDeleteHooks
- Throws:
IOException
-
testCheckAndIncrementHooks
- Throws:
Exception
-
testCheckAndAppendHooks
- Throws:
Exception
-
testCheckAndRowMutationsHooks
- Throws:
Exception
-
testAppendHook
- Throws:
IOException
-
testHBase3583
- Throws:
IOException
-
testHBASE14489
- Throws:
IOException
-
testHBase3758
- Throws:
IOException
-
testCompactionOverride
Tests overriding compaction handling via coprocessor hooks- Throws:
Exception
-
bulkLoadHFileTest
- Throws:
Exception
-
testRecovery
- Throws:
Exception
-
testPreWALRestoreSkip
- Throws:
Exception
-
testPreWALAppendHook
private void testPreWALAppendHook(org.apache.hadoop.hbase.client.Table table, org.apache.hadoop.hbase.TableName tableName) throws IOException - Throws:
IOException
-
testPreWALAppend
- Throws:
Exception
-
testPreWALAppendIsWrittenToWAL
- Throws:
Exception
-
testPreWALAppendNotCalledOnMetaEdit
- Throws:
Exception
-
verifyMethodResult
private void verifyMethodResult(Class<?> coprocessor, String[] methodName, org.apache.hadoop.hbase.TableName tableName, Object[] value) throws IOException - Throws:
IOException
-
createHFile
private static void createHFile(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, byte[] family, byte[] qualifier) throws IOException - Throws:
IOException
-