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
Exception
public void testMergeSwitch() throws Exception
Exception
public void testMultiSwitches() throws IOException
IOException
public void testSplitRegionReplicaRitRecovery() throws Exception
Exception
private 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
IOException
private void initSwitchStatus(org.apache.hadoop.hbase.client.Admin admin) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.