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

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • trunk
    • 2.2.0
    • stacks
    • 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. IncorrectAssignment.png
          95 kB
          Bhuvnesh Chaudhary
        2. FreshInstallOnSingleNode.png
          89 kB
          Bhuvnesh Chaudhary
        3. AMBARI-14966-2.patch
          4 kB
          Bhuvnesh Chaudhary
        4. AfterFix.png
          102 kB
          Bhuvnesh Chaudhary
        5. AddHostWithoutAnyService.png
          91 kB
          Bhuvnesh Chaudhary

        Issue Links

          Activity

            People

              bhuvnesh2703 Bhuvnesh Chaudhary
              bhuvnesh2703 Bhuvnesh Chaudhary
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: