ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-78

added a high level protocol/feature - for easy Leader Election or exclusive Write Lock creation

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.2.0
    • Component/s: java client
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Here's a patch which adds a little WriteLock helper class for performing leader elections or creating exclusive locks in some directory znode. Note its an early cut; am sure we can improve it over time. The aim is to avoid folks having to use the low level ZK stuff but provide a simpler high level abstraction.

      1. patch_with_including_Benjamin's_fix.patch
        37 kB
        james strachan
      2. using_zookeeper_facade.patch
        46 kB
        james strachan
      3. ZOOKEEPER-78.patch
        183 kB
        Mahadev konar
      4. ZOOKEEPER-78.patch
        181 kB
        Mahadev konar
      5. ZOOKEEPER-78.patch
        179 kB
        Mahadev konar
      6. ZOOKEEPER-78.patch
        176 kB
        Mahadev konar
      7. ZOOKEEPER-78.patch
        174 kB
        Mahadev konar
      8. ZOOKEEPER-78.patch
        173 kB
        Mahadev konar
      9. ZOOKEEPER-78.patch
        172 kB
        Mahadev konar
      10. ZOOKEEPER-78.patch
        49 kB
        Mahadev konar
      11. ZOOKEEPER-78.patch
        34 kB
        Mahadev konar
      12. ZOOKEEPER-78.patch
        36 kB
        Mahadev konar

        Issue Links

          Activity

          james strachan created issue -
          james strachan made changes -
          Field Original Value New Value
          Attachment writeLock_protocol.patch [ 12386312 ]
          Mahadev konar made changes -
          Assignee james strachan [ jstrachan ]
          Patrick Hunt made changes -
          Link This issue is blocked by ZOOKEEPER-79 [ ZOOKEEPER-79 ]
          james strachan made changes -
          Attachment writeLock_protocol_with_documentation-version2.patch [ 12386392 ]
          james strachan made changes -
          Attachment writeLock_protocol_version3.patch [ 12386399 ]
          james strachan made changes -
          Attachment writeLock_protocol.patch [ 12386312 ]
          james strachan made changes -
          Attachment writeLock_protocol_with_documentation-version2.patch [ 12386392 ]
          james strachan made changes -
          james strachan made changes -
          Attachment writeLock_protocol_version3.patch [ 12386399 ]
          james strachan made changes -
          Link This issue is blocked by ZOOKEEPER-84 [ ZOOKEEPER-84 ]
          james strachan made changes -
          Link This issue is blocked by ZOOKEEPER-84 [ ZOOKEEPER-84 ]
          james strachan made changes -
          Attachment using_zookeeper_facade.patch [ 12386733 ]
          james strachan made changes -
          Assignee james strachan [ jstrachan ]
          Status Open [ 1 ] Patch Available [ 10002 ]
          Patrick Hunt made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Assignee james strachan [ jstrachan ]
          Mahadev konar made changes -
          Fix Version/s 3.2.0 [ 12313491 ]
          Mahadev konar made changes -
          Attachment ZOOKEEPER-78.patch [ 12400563 ]
          Mahadev konar made changes -
          Attachment ZOOKEEPER-78.patch [ 12400636 ]
          Mahadev konar made changes -
          Attachment ZOOKEEPER-78.patch [ 12401895 ]
          Mahadev konar made changes -
          Attachment ZOOKEEPER-78.patch [ 12404293 ]
          Mahadev konar made changes -
          Attachment ZOOKEEPER-78.patch [ 12404293 ]
          Mahadev konar made changes -
          Attachment ZOOKEEPER-78.patch [ 12404295 ]
          Mahadev konar made changes -
          Attachment ZOOKEEPER-78.patch [ 12404785 ]
          Mahadev konar made changes -
          Attachment ZOOKEEPER-78.patch [ 12404904 ]
          Mahadev konar made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Mahadev konar made changes -
          Assignee james strachan [ jstrachan ] Mahadev konar [ mahadev ]
          Mahadev konar made changes -
          Attachment ZOOKEEPER-78.patch [ 12404995 ]
          Mahadev konar made changes -
          Attachment ZOOKEEPER-78.patch [ 12405203 ]
          Mahadev konar made changes -
          Attachment ZOOKEEPER-78.patch [ 12405803 ]
          Mahadev konar made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Mahadev konar made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Mahadev konar made changes -
          Attachment ZOOKEEPER-78.patch [ 12406269 ]
          Mahadev konar made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Mahadev konar made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Patrick Hunt made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Resolution Fixed [ 1 ]
          Patrick Hunt made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Mahadev konar
              Reporter:
              james strachan
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development