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

Add Host is only performing Hostname Resolution check for added hosts



    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.2
    • Component/s: ambari-web
    • Labels:


      When hosts are added to the cluster, on Add Host, a Hostname Resolution check is performed. This checks on each host that the other hosts are resolving. For example, if you have Host1, Host2 and Host3. On each host, Ambari confirms Host1, Host2 and Host3 can resolve (by doing this).


      When adding hosts to a cluster via Add Host, Ambari performs the Hostname Resolution check but the list of hosts ONLY includes all added hosts, not any of the hosts already in the cluster. For example, if I add Host4 and Host5 to the cluster, Ambari will check that each of those hosts can resolve Host4 and Host5 but not Host1, Host2 or Host3. This can present a problem if these new hosts Host 4 and Host5 network is mis-configured. They might not be able to resolve the existing cluster hosts and therefore, once we get components installed and started, those components might not function in the cluster correctly. This can become a challenge to diagnose.

      Attaching a few screen shots showing what is happening. c6401 + c6402 are part of original cluster and both are passed with the host check. But when I add c6403, it doesn't include the existing hosts c6401/c6402 in the check.

      The solution is to include existing hosts in the list of hosts to check resolution. Understandably, this list might be large in a very big cluster, so an option is to ONLY include the set of hosts that include a Master Component (like NameNode, etc).


        1. AMBARI-12787.patch
          2 kB
          Aleksandr Kovalenko
        2. c6401-2.tiff
          579 kB
          Aleksandr Kovalenko
        3. c6403.tiff
          545 kB
          Aleksandr Kovalenko



            • Assignee:
              akovalenko Aleksandr Kovalenko
              akovalenko Aleksandr Kovalenko
            • Votes:
              0 Vote for this issue
              3 Start watching this issue


              • Created: