Class TestChildProcedures
java.lang.Object
org.apache.hadoop.hbase.procedure2.TestChildProcedures
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classprivate static classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate org.apache.hadoop.fs.FileSystemprivate HBaseCommonTestingUtilprivate static final org.slf4j.Loggerprivate org.apache.hadoop.fs.Pathprivate static final intprivate static TestChildProcedures.TestProcEnvprivate static org.apache.hadoop.hbase.procedure2.ProcedureExecutor<TestChildProcedures.TestProcEnv>private static org.apache.hadoop.hbase.procedure2.store.ProcedureStoreprivate org.apache.hadoop.fs.Path -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidassertProcFailed(long procId) voidsetUp()voidtearDown()voidvoidTest the state setting that happens after store to WAL; in particular the bit where we set the parent runnable again after its children have all completed successfully.voidvoidvoid
-
Field Details
-
CLASS_RULE
-
LOG
-
PROCEDURE_EXECUTOR_SLOTS
- See Also:
-
procEnv
-
procExecutor
private static org.apache.hadoop.hbase.procedure2.ProcedureExecutor<TestChildProcedures.TestProcEnv> procExecutor -
procStore
-
htu
-
fs
-
testDir
-
logDir
-
-
Constructor Details
-
TestChildProcedures
public TestChildProcedures()
-
-
Method Details
-
setUp
- Throws:
IOException
-
tearDown
- Throws:
IOException
-
testChildLoad
- Throws:
Exception
-
testChildLoadWithSteppedRestart
- Throws:
Exception
-
testChildLoadWithRestartAfterChildSuccess
Test the state setting that happens after store to WAL; in particular the bit where we set the parent runnable again after its children have all completed successfully. See HBASE-20978.- Throws:
Exception
-
testChildRollbackLoad
- Throws:
Exception
-
testChildRollbackLoadWithSteppedRestart
- Throws:
Exception
-
assertProcFailed
-