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

Recursive deletes and misc improvements to ZKW

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.90.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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

            • Assignee:
              jdcryans Jean-Daniel Cryans
              Reporter:
              jdcryans Jean-Daniel Cryans

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment