Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-237

Add a Chroot request

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0
    • Component/s: c client, java client
    • Labels:
      None

      Description

      It would be nice to be able to root ZooKeeper handles at specific points in the namespace, so that applications that use ZooKeeper can work in their own rooted subtree.

      For example, if ops decides that application X can use the subtree /apps/X and application Y can use the subtree /apps/Y, X can to a chroot to /apps/X and then all its path references can be rooted at /apps/X. Thus when X creates the path "/myid", it will actually be creating the path "/apps/X/myid".

      There are two ways we can expose this mechanism: 1) We can simply add a chroot(String path) API, or 2) we can integrate into a service identifier scheme for example zk://server1:2181,server2:2181/my/root. I like the second form personally.

        Attachments

        1. ZOOKEEPER-237.patch
          88 kB
          Mahadev Konar
        2. ZOOKEEPER-237.patch
          87 kB
          Mahadev Konar
        3. ZOOKEEPER-237.patch
          67 kB
          Patrick D. Hunt
        4. ZOOKEEPER-237.patch
          67 kB
          Patrick D. Hunt

          Issue Links

            Activity

              People

              • Assignee:
                mahadev Mahadev Konar
                Reporter:
                breed Benjamin Reed
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: