This is an automated email from the ASF dual-hosted git repository.
wuzhiguo pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push:
new e8fe72e145 AMBARI-25440: Server sets blueprint_provisioning_state for
component to finished before start command execution (#3516)
e8fe72e145 is described below
commit e8fe72e145159b0ddb8dfb53709b0bfa4154841f
Author: Zhiguo Wu <[email protected]>
AuthorDate: Thu Nov 17 16:34:02 2022 +0800
AMBARI-25440: Server sets blueprint_provisioning_state for component to
finished before start command execution (#3516)
---
.../ambari/server/state/svccomphost/ServiceComponentHostImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java
b/ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java
index 441d55740f..447431ba72 100644
---
a/ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java
+++
b/ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java
@@ -1020,7 +1020,7 @@ public class ServiceComponentHostImpl implements
ServiceComponentHost {
STOMPUpdatePublisher.publish(new
HostComponentsUpdateEvent(Collections.singletonList(
HostComponentUpdate.createHostComponentStatusUpdate(stateEntity,
oldState))));
}
- if
(event.getType().equals(ServiceComponentHostEventType.HOST_SVCCOMP_START)) {
+ if
(event.getType().equals(ServiceComponentHostEventType.HOST_SVCCOMP_STARTED)) {
HostComponentDesiredStateEntity desiredStateEntity =
getDesiredStateEntity();
if (desiredStateEntity.getBlueprintProvisioningState() ==
BlueprintProvisioningState.IN_PROGRESS) {
desiredStateEntity.setBlueprintProvisioningState(BlueprintProvisioningState.FINISHED);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]