Class MasterFailoverWithProceduresTestBase
java.lang.Object
org.apache.hadoop.hbase.master.procedure.MasterFailoverWithProceduresTestBase
- Direct Known Subclasses:
TestCreateTableWithMasterFailover,TestDeleteTableWithMasterFailover,TestDisableTableWithMasterFailover,TestEnableTableWithMasterFailover,TestTruncateTableWithMasterFailover
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Loggerprotected static final HBaseTestingUtility -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static org.apache.hadoop.hbase.procedure2.ProcedureExecutor<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv>protected static org.apache.hadoop.fs.Pathstatic voidsetUp()static voidtearDown()protected static voidtestRecoveryAndDoubleExecution(HBaseTestingUtility testUtil, long procId, int lastStepBeforeFailover)
-
Field Details
-
LOG
-
UTIL
-
-
Constructor Details
-
MasterFailoverWithProceduresTestBase
public MasterFailoverWithProceduresTestBase()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
getMasterProcedureExecutor
protected static org.apache.hadoop.hbase.procedure2.ProcedureExecutor<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv> getMasterProcedureExecutor() -
getRootDir
-
testRecoveryAndDoubleExecution
protected static void testRecoveryAndDoubleExecution(HBaseTestingUtility testUtil, long procId, int lastStepBeforeFailover) throws Exception - Throws:
Exception
-