Package org.apache.hadoop.hbase.client
Class TestSplitOrMergeStatus
java.lang.Object
org.apache.hadoop.hbase.client.TestSplitOrMergeStatus
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static byte[]
org.junit.rules.TestName
private static final HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.procedure2.ProcedureExecutor<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv>
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
void
void
void
-
Field Details
-
CLASS_RULE
-
TEST_UTIL
-
FAMILY
-
name
-
-
Constructor Details
-
TestSplitOrMergeStatus
public TestSplitOrMergeStatus()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testSplitSwitch
- Throws:
Exception
-
testMergeSwitch
- Throws:
Exception
-
testMultiSwitches
- Throws:
IOException
-
testSplitRegionReplicaRitRecovery
- Throws:
Exception
-
getMasterProcedureExecutor
private org.apache.hadoop.hbase.procedure2.ProcedureExecutor<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv> getMasterProcedureExecutor() -
insertData
private void insertData(org.apache.hadoop.hbase.TableName tableName, int startRow, int rowCount) throws IOException - Throws:
IOException
-
initSwitchStatus
- Throws:
IOException
-