public class TestProcedureExecution extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestProcedureExecution.TestFaultyRollback |
private static class |
TestProcedureExecution.TestProcedureException |
static class |
TestProcedureExecution.TestSequentialProcedure |
static class |
TestProcedureExecution.TestWaitingProcedure |
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 org.apache.hadoop.hbase.procedure2.Procedure<?> |
NULL_PROC |
private static int |
PROCEDURE_EXECUTOR_SLOTS |
private org.apache.hadoop.hbase.procedure2.ProcedureExecutor<Void> |
procExecutor |
private org.apache.hadoop.hbase.procedure2.store.ProcedureStore |
procStore |
private org.apache.hadoop.fs.Path |
testDir |
Constructor and Description |
---|
TestProcedureExecution() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
tearDown() |
void |
testAbortTimeout() |
void |
testAbortTimeoutWithChildren() |
void |
testBadSubprocList() |
void |
testRollbackRetriableFailure() |
void |
testSingleSequentialProc() |
void |
testSingleSequentialProcRollback() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final int PROCEDURE_EXECUTOR_SLOTS
private static final org.apache.hadoop.hbase.procedure2.Procedure<?> NULL_PROC
private org.apache.hadoop.hbase.procedure2.ProcedureExecutor<Void> procExecutor
private 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 TestProcedureExecution()
public void setUp() throws IOException
IOException
public void tearDown() throws IOException
IOException
public void testBadSubprocList()
public void testSingleSequentialProc()
public void testSingleSequentialProcRollback()
public void testRollbackRetriableFailure()
public void testAbortTimeout()
public void testAbortTimeoutWithChildren()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.