Recursive deletes and misc improvements to ZKW
----------------------------------------------
Key: HBASE-2534
URL: https://issues.apache.org/jira/browse/HBASE-2534
Project: Hadoop HBase
Issue Type: Improvement
Reporter: Jean-Daniel Cryans
Assignee: Jean-Daniel Cryans
Fix For: 0.21.0
Attachments: HBASE-2534.patch
For replication I needed to add a bunch of features to ZooKeeperWrapper in
order to make it more usable. I'm adding:
- a way to make recursive deletes (sync, so it's slower than async)
- a way to scan a list of znodes and add a watch to each of them
- a way to write a znode and have the method either fail if it already exists
or overwrite it
- ensureExists as a public method with javadoc (very useful)
Also adding some more javadoc here and there and a unit test for deletes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.