Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
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.
Attachments
Attachments
Issue Links
- is required by
-
HBASE-2223 Handle 10min+ network partitions between clusters
- Closed