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

Scale requests are failing after removing services from original components of a hostgroup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 2.5.0
    • ambari-server
    • None

    Description

      In case of BP based deployments, if after successful deployment some services are removed from cluster, a new Scale / Auto Scale request will fail to create resources, since hostgroup will contain components of a service already removed:

      org.apache.ambari.server.AmbariException: The service[AMBARI_INFRA] associated with the component[INFRA_SOLR] doesn't exist for the cluster[adl-prod]
      	at org.apache.ambari.server.topology.AmbariContext.createAmbariHostResources(AmbariContext.java:292)
      	at org.apache.ambari.server.topology.HostRequest$PersistHostResourcesTask.run(HostRequest.java:463)
      	at 
      

      Attachments

        1. AMBARI-19866.patch
          11 kB
          Magyari Sandor Szilard

        Issue Links

          Activity

            People

              smagyari Magyari Sandor Szilard
              smagyari Magyari Sandor Szilard
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: