Class TestSCPBase
java.lang.Object
org.apache.hadoop.hbase.master.procedure.TestSCPBase
- Direct Known Subclasses:
TestHBCKSCP
,TestSCP
,TestSCPWithMeta
,TestSCPWithoutMeta
,TestSCPWithReplicasWithRSGroup
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
(package private) static final int
protected HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.hadoop.hbase.client.Table
createTable
(org.apache.hadoop.hbase.TableName tableName) protected int
protected long
getSCPProcId
(org.apache.hadoop.hbase.procedure2.ProcedureExecutor<?> procExec) void
setup()
protected void
setupConf
(org.apache.hadoop.conf.Configuration conf) protected void
void
tearDown()
protected void
testRecoveryAndDoubleExecution
(boolean carryingMeta, boolean doubleExecution) Run server crash procedure steps twice to test idempotency and that we are persisting all needed state.
-
Field Details
-
LOG
-
RS_COUNT
- See Also:
-
util
-
-
Constructor Details
-
TestSCPBase
public TestSCPBase()
-
-
Method Details
-
setupConf
-
setup
- Throws:
Exception
-
startMiniCluster
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testRecoveryAndDoubleExecution
protected void testRecoveryAndDoubleExecution(boolean carryingMeta, boolean doubleExecution) throws Exception Run server crash procedure steps twice to test idempotency and that we are persisting all needed state.- Throws:
Exception
-
getSCPProcId
-
createTable
protected org.apache.hadoop.hbase.client.Table createTable(org.apache.hadoop.hbase.TableName tableName) throws IOException - Throws:
IOException
-
getRegionReplication
-