Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-14786

Localhost configuration value for multiple host properties does not work properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.4.0, 2.2.2
    • ambari-server
    • None

    Description

      If the configuration value for a multiple host property is "localhost" AND the corresponding component can be found in a single hostgroup, then it is resolved to only one host from that hostgroup, instead of a list of them.

      Example:
      "hbase.zookeeper.quorum": "localhost"
      Zookeeper Server is assigned to a hostgroup that have 3 hosts (hostA, hostB, hostC). Then after a Blueprint import, the value is incorrectly set:
      "hbase.zookeeper.quorum": "hostA"
      Correct value would be:
      "hbase.zookeeper.quorum": "hostA,hostB,hostC"

      Attachments

        1. AMBARI-14786_branch-2.2.2.patch
          28 kB
          Daniel Gergely
        2. AMBARI-14786.patch
          28 kB
          Daniel Gergely

        Issue Links

          Activity

            People

              dgergely Daniel Gergely
              dgergely Daniel Gergely
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: