Class TestSCPBase
java.lang.Object
org.apache.hadoop.hbase.master.procedure.TestSCPBase
- Direct Known Subclasses:
TestHBCKSCP,TestSCP,TestSCPWithMeta,TestSCPWithoutMeta,TestSCPWithReplicasWithRSGroup
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Logger(package private) static final intprotected HBaseTestingUtility -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.hadoop.hbase.client.TablecreateTable(org.apache.hadoop.hbase.TableName tableName) protected intprotected longgetSCPProcId(org.apache.hadoop.hbase.procedure2.ProcedureExecutor<?> procExec) voidsetup()protected voidsetupConf(org.apache.hadoop.conf.Configuration conf) protected voidvoidtearDown()protected voidtestRecoveryAndDoubleExecution(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
-