Class TestSCPBase
java.lang.Object
org.apache.hadoop.hbase.master.procedure.TestSCPBase
- Direct Known Subclasses:
- TestHBCKSCP,- TestSCP,- TestSCPWithMeta,- TestSCPWithoutMeta,- TestSCPWithReplicasWithRSGroup
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Logger(package private) static final intprotected HBaseTestingUtil
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
TestSCPBasepublic TestSCPBase()
 
- 
- 
Method Details- 
setupConf
- 
setup- Throws:
- Exception
 
- 
startMiniCluster- Throws:
- Exception
 
- 
tearDown- Throws:
- Exception
 
- 
testRecoveryAndDoubleExecutionprotected 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
- 
createTableprotected org.apache.hadoop.hbase.client.Table createTable(org.apache.hadoop.hbase.TableName tableName) throws IOException - Throws:
- IOException
 
- 
getRegionReplication
 
-