ambari-dev mailing list archives

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

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



##########
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:
       The logic should be generalized without special treatment for any pre-defined component




----------------------------------------------------------------
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