Class TestZKMulti
java.lang.Object
org.apache.hadoop.hbase.zookeeper.TestZKMulti
Test ZooKeeper multi-update functionality.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final org.slf4j.Loggerprivate static final HBaseZKTestingUtilprivate static org.apache.hadoop.hbase.zookeeper.ZKWatcher -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcreateZNodeTree(String rootZNode) static voidstatic voidvoidvoidvoidVerifies that for the given root node, it should delete all the child nodes recursively using multi-update api.voidvoidVerifies that for the given root node, it should delete all the nodes recursively using multi-update api.voidvoidvoidvoidvoidvoidvoid
-
Field Details
-
CLASS_RULE
-
LOG
-
TEST_UTIL
-
zkw
-
-
Constructor Details
-
TestZKMulti
public TestZKMulti()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
testSimpleMulti
- Throws:
Exception
-
testComplexMulti
- Throws:
Exception
-
testSingleFailure
- Throws:
Exception
-
testSingleFailureInMulti
- Throws:
Exception
-
testMultiFailure
- Throws:
Exception
-
testRunSequentialOnMultiFailure
- Throws:
Exception
-
testdeleteChildrenRecursivelyMulti
Verifies that for the given root node, it should delete all the child nodes recursively using multi-update api.- Throws:
Exception
-
testDeleteNodeRecursivelyMulti
Verifies that for the given root node, it should delete all the nodes recursively using multi-update api.- Throws:
Exception
-
testDeleteNodeRecursivelyMultiOrSequential
- Throws:
Exception
-
testDeleteChildrenRecursivelyMultiOrSequential
- Throws:
Exception
-
testBatchedDeletesOfWideZNodes
- Throws:
Exception
-
testListPartitioning
-
createZNodeTree
private void createZNodeTree(String rootZNode) throws org.apache.zookeeper.KeeperException, InterruptedException - Throws:
org.apache.zookeeper.KeeperExceptionInterruptedException
-