public class TestSplitOrMergeStatus extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
FAMILY |
org.junit.rules.TestName |
name |
private static HBaseTestingUtility |
TEST_UTIL |
| Constructor and Description |
|---|
TestSplitOrMergeStatus() |
| Modifier and Type | Method and Description |
|---|---|
private org.apache.hadoop.hbase.procedure2.ProcedureExecutor<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv> |
getMasterProcedureExecutor() |
private void |
initSwitchStatus(org.apache.hadoop.hbase.client.Admin admin) |
private void |
insertData(org.apache.hadoop.hbase.TableName tableName,
int startRow,
int rowCount) |
void |
setUp() |
void |
tearDown() |
void |
testMergeSwitch() |
void |
testMultiSwitches() |
void |
testSplitRegionReplicaRitRecovery() |
void |
testSplitSwitch() |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility TEST_UTIL
private static byte[] FAMILY
public org.junit.rules.TestName name
public TestSplitOrMergeStatus()
public void testSplitSwitch() throws Exception
Exceptionpublic void testMergeSwitch() throws Exception
Exceptionpublic void testMultiSwitches() throws IOException
IOExceptionpublic void testSplitRegionReplicaRitRecovery() throws Exception
Exceptionprivate org.apache.hadoop.hbase.procedure2.ProcedureExecutor<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv> getMasterProcedureExecutor()
private void insertData(org.apache.hadoop.hbase.TableName tableName, int startRow, int rowCount) throws IOException
IOExceptionprivate void initSwitchStatus(org.apache.hadoop.hbase.client.Admin admin) throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.