Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0
    • Component/s: None
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      I've put together a basic component implementation for interacting with a Zookeeper Cluster (http://hadoop.apache.org/zookeeper/). Its a reasonably complete implementation, providing much of the available functionality of the 3.3.0 api. The main features being the abilities to

      • Creation of nodes in any of the ZooKeeper create modes.
      • Get and Set the data contents of arbitrary cluster nodes.
      • Create and retrieve the list the child nodes attached to a particular node.
      • A Distributed RoutePoilcy that leverages a Leader election coordinated by ZK to determine if exchanges should get processed.

      It's build against the Head of Zookeepers current release stream, 3.3.0. Zookeeper (Like the rest of the Hadoop project) uses a custom ant build and so there are no SNAPSHOTS. This is a bit of an impediment, but its likely that the Zookeepr project will cut a release before too long. In the meantime, to get some soak time in the real world, I've attached a freshly cut jar from the head today so you can try the component out. It can be installed using the following command.

      mvn install:install-file -DgroupId=org.apache.zookeeper -DartifactId=zookeeper -Dversion=3.3.0 -Dpackaging=jar -Dfile=zookeeper-3.3.0.jar

      I'm putting together some documentation and will be happy to add it to the wiki if the component gets picked up. I hope the project can find this useful.

      1. zookeeper-3.3.0.jar
        1.27 MB
        Stephen Gargan
      2. zookeeper.patch
        176 kB
        Stephen Gargan
      3. zookeeper.patch
        180 kB
        Stephen Gargan
      There are no Sub-Tasks for this issue.

        Activity

        Stephen Gargan created issue -
        Stephen Gargan made changes -
        Field Original Value New Value
        Attachment zookeeper.patch [ 18930 ]
        Attachment zookeeper-3.3.0.jar [ 18931 ]
        Claus Ibsen made changes -
        Affects Version/s 2.3.0 [ 12184 ]
        Fix Version/s 2.3.0 [ 12184 ]
        Fix Version/s Future [ 11977 ]
        Jeff Turner made changes -
        Project Import Sat Nov 27 00:14:50 EST 2010 [ 1290834890113 ]
        Claus Ibsen made changes -
        Priority Minor [ 4 ] Major [ 3 ]
        Fix Version/s 3.0.0 [ 12315691 ]
        Fix Version/s Future [ 12315692 ]
        Hadrian Zbarcea made changes -
        Assignee Hadrian Zbarcea [ hadrian ]
        Hadrian Zbarcea made changes -
        Fix Version/s 2.9.0 [ 12316374 ]
        Fix Version/s 3.0.0 [ 12315691 ]
        Stephen Gargan made changes -
        Attachment zookeeper.patch [ 12491423 ]
        Hadrian Zbarcea made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hadrian Zbarcea made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Hadrian Zbarcea
            Reporter:
            Stephen Gargan
          • Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development