public class TestRegionObserverBypass extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestRegionObserverBypass.TestCoprocessor |
static class |
TestRegionObserverBypass.TestCoprocessor2
Calls through to TestCoprocessor.
|
static class |
TestRegionObserverBypass.TestCoprocessor3
Calls through to TestCoprocessor.
|
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
dummy |
private static byte[] |
row1 |
private static byte[] |
row2 |
private static byte[] |
row3 |
private static org.apache.hadoop.hbase.TableName |
tableName |
private static byte[] |
test |
private static HBaseTestingUtility |
util |
| Constructor and Description |
|---|
TestRegionObserverBypass() |
| Modifier and Type | Method and Description |
|---|---|
private void |
checkRowAndDelete(org.apache.hadoop.hbase.client.Table t,
byte[] row,
int count) |
void |
setUp() |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testBypassAlsoCompletes()
Test that when bypass is called, we skip out calling any other coprocessors stacked up method,
in this case, a prePut.
|
void |
testMulti()
Test various multiput operations.
|
void |
testSimple()
do a single put that is bypassed by a RegionObserver
|
public static final HBaseClassTestRule CLASS_RULE
private static HBaseTestingUtility util
private static final org.apache.hadoop.hbase.TableName tableName
private static final byte[] dummy
private static final byte[] row1
private static final byte[] row2
private static final byte[] row3
private static final byte[] test
public TestRegionObserverBypass()
public static void setUpBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void testSimple() throws Exception
Exceptionpublic void testMulti() throws Exception
Exceptionprivate void checkRowAndDelete(org.apache.hadoop.hbase.client.Table t, byte[] row, int count) throws IOException
IOExceptionpublic void testBypassAlsoCompletes() throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.