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

Stack Advisor incorrectly recommends Slave component on a host which does not have it installed during Add service wizard

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: 2.2.0
    • Component/s: stacks
    • Labels:
      None

      Description

      Steps to reproduce:

      • Install a cluster with HDFS (To start with single node host c6401)
        FreshInstallOnSingleNode.png
      • Add a new host (c6402) and don't add any of the slave components or client
        AddHostWithoutAnyService.png
      • Add HAWQ or any other service, don't change the recommendation on master components page and click next
      • Datanode checkbox will be checked on c6402 even though its not installed.
        IncorrectAssignment.png

      Bug:

      • Datanode should not be checked on c6402 as its not installed on the host.

      Current Behavior:

      Since this minor code changes goes to core stack advisor, i am requesting inputs to be sure before going ahead with the change.

      Few questions:
      1. Do we extend the hostlist for already installed Slaves for some reason or its incorrect ?
      2. Do you foresee any concerns with the patch. (I have tested it on Fresh Install of Cluster and Add services page)

      After fix: Datanode is not checked on c6402
      AfterFix.png

        Attachments

        1. AddHostWithoutAnyService.png
          91 kB
          bhuvnesh chaudhary
        2. AfterFix.png
          102 kB
          bhuvnesh chaudhary
        3. AMBARI-14966-2.patch
          4 kB
          bhuvnesh chaudhary
        4. FreshInstallOnSingleNode.png
          89 kB
          bhuvnesh chaudhary
        5. IncorrectAssignment.png
          95 kB
          bhuvnesh chaudhary

          Issue Links

            Activity

              People

              • Assignee:
                bhuvnesh2703 bhuvnesh chaudhary
                Reporter:
                bhuvnesh2703 bhuvnesh chaudhary
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: