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

Method to request all zookeepers in cluster

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      I would like to see an API feature to request the list of all servers in the cluster. The idea here is that a client doesn't have to know about all servers to benefit from the distributed nature of Zookeeper. If they can connect to one, they can have their bases covered from there on out.

        Issue Links

          Activity

          Hide
          vines John Vines added a comment -

          Thanks for the heads up Michi, this is just what I was hoping for!

          Show
          vines John Vines added a comment - Thanks for the heads up Michi, this is just what I was hoping for!
          Hide
          michim Michi Mutsuzaki added a comment -

          Hi John,

          This feature will be available in the next release. You can call getConfig() to get the latest configuration known to the server the client is connected to.

          http://svn.apache.org/viewvc/zookeeper/trunk/src/java/main/org/apache/zookeeper/ZooKeeper.java?revision=1453693&view=markup

          --Michi

          Show
          michim Michi Mutsuzaki added a comment - Hi John, This feature will be available in the next release. You can call getConfig() to get the latest configuration known to the server the client is connected to. http://svn.apache.org/viewvc/zookeeper/trunk/src/java/main/org/apache/zookeeper/ZooKeeper.java?revision=1453693&view=markup --Michi

            People

            • Assignee:
              Unassigned
              Reporter:
              vines John Vines
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development