Apache Whirr (retired)
  1. Apache Whirr (retired)
  2. WHIRR-510

Get ZooKeeper ensemble with internal addresses

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.0
    • Component/s: service/zookeeper
    • Labels:

      Description

      Add a boolean flag to indicate if ZooKeeperCluster#getHosts should return public or private host names.

      1. WHIRR-510.diff
        2 kB
        David Arthur

        Activity

        Hide
        David Arthur added a comment -

        Adds a boolean argument to ZooKeeperCluster#getHosts to indicate public or private host names. Kept the existing getHosts for compatibility (it calls the new method with internalHost=false)

        Show
        David Arthur added a comment - Adds a boolean argument to ZooKeeperCluster#getHosts to indicate public or private host names. Kept the existing getHosts for compatibility (it calls the new method with internalHost=false)
        Hide
        Andrei Savu added a comment -

        +1

        Show
        Andrei Savu added a comment - +1
        Hide
        Andrei Savu added a comment -

        Committed to trunk. Thanks David!

        Show
        Andrei Savu added a comment - Committed to trunk. Thanks David!

          People

          • Assignee:
            David Arthur
            Reporter:
            David Arthur
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development