Class TestRegionObserverForAddingMutationsFromCoprocessors
java.lang.Object
org.apache.hadoop.hbase.coprocessor.TestRegionObserverForAddingMutationsFromCoprocessors
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final byte[]private static final org.slf4j.Loggerorg.junit.rules.TestNameprivate static final byte[]private static final byte[]private static final byte[]private org.apache.hadoop.hbase.TableNameprivate static final byte[]private static HBaseTestingUtility -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidassertRowCount(org.apache.hadoop.hbase.client.Table t, int expected) private voidcreateTable(String coprocessor) voidsetUp()static voidstatic voidvoidTests that added mutations from coprocessors end up in the WAL.voidvoidvoidvoidTest various multiput operations.void
-
Field Details
-
CLASS_RULE
-
LOG
-
util
-
dummy
-
row1
-
row2
-
row3
-
test
-
name
-
tableName
-
-
Constructor Details
-
TestRegionObserverForAddingMutationsFromCoprocessors
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
setUp
- Throws:
Exception
-
createTable
- Throws:
IOException
-
testMulti
Test various multiput operations.- Throws:
Exception
-
testCPMutationsAreWrittenToWALEdit
Tests that added mutations from coprocessors end up in the WAL.- Throws:
Exception
-
assertRowCount
private static void assertRowCount(org.apache.hadoop.hbase.client.Table t, int expected) throws IOException - Throws:
IOException
-
testDeleteCell
- Throws:
Exception
-
testDeleteFamily
- Throws:
Exception
-
testDeleteRow
- Throws:
Exception
-
testPutWithTTL
- Throws:
Exception
-