public class TestChildProcedures extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestChildProcedures.TestChildProcedure |
private static class |
TestChildProcedures.TestProcEnv |
static class |
TestChildProcedures.TestRootProcedure |
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private org.apache.hadoop.fs.FileSystem |
fs |
private HBaseCommonTestingUtility |
htu |
private static org.slf4j.Logger |
LOG |
private org.apache.hadoop.fs.Path |
logDir |
private static int |
PROCEDURE_EXECUTOR_SLOTS |
private static TestChildProcedures.TestProcEnv |
procEnv |
private static org.apache.hadoop.hbase.procedure2.ProcedureExecutor<TestChildProcedures.TestProcEnv> |
procExecutor |
private static org.apache.hadoop.hbase.procedure2.store.ProcedureStore |
procStore |
private org.apache.hadoop.fs.Path |
testDir |
Constructor and Description |
---|
TestChildProcedures() |
Modifier and Type | Method and Description |
---|---|
private void |
assertProcFailed(long procId) |
void |
setUp() |
void |
tearDown() |
void |
testChildLoad() |
void |
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.
|
void |
testChildLoadWithSteppedRestart() |
void |
testChildRollbackLoad() |
void |
testChildRollbackLoadWithSteppedRestart() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final int PROCEDURE_EXECUTOR_SLOTS
private static TestChildProcedures.TestProcEnv procEnv
private static org.apache.hadoop.hbase.procedure2.ProcedureExecutor<TestChildProcedures.TestProcEnv> procExecutor
private static org.apache.hadoop.hbase.procedure2.store.ProcedureStore procStore
private HBaseCommonTestingUtility htu
private org.apache.hadoop.fs.FileSystem fs
private org.apache.hadoop.fs.Path testDir
private org.apache.hadoop.fs.Path logDir
public TestChildProcedures()
public void setUp() throws IOException
IOException
public void tearDown() throws IOException
IOException
public void testChildLoad() throws Exception
Exception
public void testChildLoadWithSteppedRestart() throws Exception
Exception
public void testChildLoadWithRestartAfterChildSuccess() throws Exception
Exception
public void testChildRollbackLoad() throws Exception
Exception
public void testChildRollbackLoadWithSteppedRestart() throws Exception
Exception
private void assertProcFailed(long procId)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.