Class TestProcedure
java.lang.Object
org.apache.hadoop.hbase.procedure.TestProcedure
Demonstrate how Procedure handles single members, multiple members, and errors semantics
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
(package private) org.apache.hadoop.hbase.procedure.ProcedureCoordinator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setup()
void
void
void
void
With a single member, verify ordered execution.
-
Field Details
-
CLASS_RULE
-
coord
org.apache.hadoop.hbase.procedure.ProcedureCoordinator coord
-
-
Constructor Details
-
TestProcedure
public TestProcedure()
-
-
Method Details
-
setup
-
testSingleMember
With a single member, verify ordered execution. The Coordinator side is run in a separate thread so we can only trigger from members and wait for particular state latches.- Throws:
Exception
-
testMultipleMember
- Throws:
Exception
-
testErrorPropagation
- Throws:
Exception
-
testBarrieredErrorPropagation
- Throws:
Exception
-