Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-2534

Recursive deletes and misc improvements to ZKW

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.90.0
    • 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

        1. HBASE-2534.patch
          8 kB
          Jean-Daniel Cryans

        Issue Links

          Activity

            People

              jdcryans Jean-Daniel Cryans
              jdcryans Jean-Daniel Cryans
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: