Uploaded image for project: 'Ambari (Retired)'
  1. Ambari (Retired)
  2. AMBARI-7217

Ambari does not update ha.zookeeper.quorum property in core-site.xml file even if there are more than 3 ZooKeeper servers configured via Ambari.

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.7.0
    • 1.7.0
    • ambari-web
    • None

    Description

      PROBLEM: Ambari does not update ha.zookeeper.quorum property in core-site.xml even if there are more than 3 ZooKeeper servers configured via Ambari.

      BUSINESS IMPACT: NA

      STEPS TO REPRODUCE:
      1. Add the 2 ZooKeeper servers to an existing cluster that is already running 3 ZooKeeper servers.
      2. You will now see a total of 5 ZooKeeper servers running from the Ambari UI.
      3. Open up the /etc/hadoop/conf/core-site.xml file.
      4. You will observe that there are only entries for the 3 ZooKeeper services in ha.zookeeper.quorum and is not updated with the newly added ZooKeeper services.

      ACTUAL BEHAVIOR: Ambari allows adding new ZooKeeper services but does not update them accordingly ha.zookeeper.quorum property in core-site.xml

      EXPECTED BEHAVIOR: Ambari should update core-site.xml appropriately whenever a new ZooKeeper server is added.

      SUPPORT ANALYSIS: Reproduced the issue.

      Attachments

        1. AMBARI-7217.patch
          1 kB
          Oleg Nechiporenko

        Activity

          People

            onechiporenko Oleg Nechiporenko
            onechiporenko Oleg Nechiporenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment