ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [ambari] ramkrish86 commented on a change in pull request #3287: AMBARI-25620 Ambari Server STOP command on a node might fail because …
Date Wed, 24 Feb 2021 04:31:21 GMT

ramkrish86 commented on a change in pull request #3287:
URL: https://github.com/apache/ambari/pull/3287#discussion_r581616267



##########
File path: ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java
##########
@@ -2199,6 +2201,18 @@ public Long getNextConfigVersion(String type) {
         Enum<?> currentState = e.getCurrentState();
         Enum<?> failedEvent = e.getEvent();
 
+        if (serviceComponent != null && serviceComponentHost != null
+            && (currentState == State.STARTED || currentState == State.STARTING)
+            && failedEvent == ServiceComponentHostEventType.HOST_SVCCOMP_INSTALL
+            && serviceComponentName.equals("NODEMANAGER") && serviceComponentHost

Review comment:
       @hapylestat - I have removed the treatment for NM specifically but overall retained
the check with the state and the failedEvent as is. 




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message