Class TestRegionObserverBypass
java.lang.Object
org.apache.hadoop.hbase.coprocessor.TestRegionObserverBypass
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Calls through to TestCoprocessor.static class
Calls through to TestCoprocessor. -
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final byte[]
private static final byte[]
private static final byte[]
private static final byte[]
private static final org.apache.hadoop.hbase.TableName
private static final byte[]
private static HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
checkRowAndDelete
(org.apache.hadoop.hbase.client.Table t, byte[] row, int count) void
setUp()
static void
static void
void
Test that when bypass is called, we skip out calling any other coprocessors stacked up method, in this case, a prePut.void
Test various multiput operations.void
do a single put that is bypassed by a RegionObserver
-
Field Details
-
CLASS_RULE
-
util
-
tableName
-
dummy
-
row1
-
row2
-
row3
-
test
-
-
Constructor Details
-
TestRegionObserverBypass
public TestRegionObserverBypass()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
setUp
- Throws:
Exception
-
testSimple
do a single put that is bypassed by a RegionObserver- Throws:
Exception
-
testMulti
Test various multiput operations. If the column family is 'test', then bypass is invoked.- Throws:
Exception
-
checkRowAndDelete
private void checkRowAndDelete(org.apache.hadoop.hbase.client.Table t, byte[] row, int count) throws IOException - Throws:
IOException
-
testBypassAlsoCompletes
Test that when bypass is called, we skip out calling any other coprocessors stacked up method, in this case, a prePut. If the column family is 'test', then bypass is invoked.- Throws:
IOException
-