[
https://issues.apache.org/jira/browse/AMBARI-19866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15859209#comment-15859209
]
Hudson commented on AMBARI-19866:
---------------------------------
SUCCESS: Integrated in Jenkins build Ambari-branch-2.5 #933 (See
[https://builds.apache.org/job/Ambari-branch-2.5/933/])
AMBARI-19866. Scale requests are failing after removing services from
(smagyari:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=8bcbf3a5e2e49920e09b65b3eebd6872f2420c3a])
* (edit)
ambari-server/src/test/java/org/apache/ambari/server/topology/AmbariContextTest.java
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/topology/AmbariContext.java
> Scale requests are failing after removing services from original components
> of a hostgroup
> ------------------------------------------------------------------------------------------
>
> Key: AMBARI-19866
> URL: https://issues.apache.org/jira/browse/AMBARI-19866
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Reporter: Sandor Magyari
> Assignee: Sandor Magyari
> Priority: Critical
> Fix For: 2.5.0
>
> Attachments: AMBARI-19866.patch
>
>
> 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:
> {code}
> 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
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)