[
https://issues.apache.org/jira/browse/AMBARI-20440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15928116#comment-15928116
]
Hudson commented on AMBARI-20440:
---------------------------------
SUCCESS: Integrated in Jenkins build Ambari-branch-2.5 #1274 (See
[https://builds.apache.org/job/Ambari-branch-2.5/1274/])
AMBARI-20440. Concurrent odification of HostComponentDesiredState entity
(smagyari:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=ec8fc2bb2b3632a5e76b089fc98b95ce518de264])
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java
> Concurrent odification of HostComponentDesiredState entity results in
> Blueprint based deployment stuck in PENDING state
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: AMBARI-20440
> URL: https://issues.apache.org/jira/browse/AMBARI-20440
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Reporter: Sandor Magyari
> Assignee: Sandor Magyari
> Priority: Blocker
> Fix For: 2.5.0
>
> Attachments: AMBARI-20440.patch
>
>
> If topology tasks are generated in parallel during Blueprint deployment
> (topology.task.creation.parallel=true) sometimes concurrent modification of
> HostComponentDesiredState entity might be modified concurrently which results
> in desiredState remaining in INIT state. As a result HostRoleCommand for
> START topology task is not generated and remains in PENDING state.
> The problem appears when a component is set as restartRequiredAfterRackChange
> in stack definition. In this case when host components are created by
> PersistHostResourcesTask restartRequired is set to true on the same component
> on other hosts, meanwhile InstallHostTask is running which sets the
> desiredState for the same component. As both restartRequired and desiredState
> fields are stored in HostComponentDesiredState entity it could happen then
> when updating restartRequired field desiredState is reverted back to INIT
> state.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)