xintongsong commented on a change in pull request #15095:
URL: https://github.com/apache/flink/pull/15095#discussion_r589339512



##########
File path: 
flink-kubernetes/src/main/java/org/apache/flink/kubernetes/KubernetesResourceManagerDriver.java
##########
@@ -228,7 +228,7 @@ private void recoverWorkerNodesFromPreviousAttempts() 
throws ResourceManagerExce
                 currentMaxAttemptId = attempt;
             }
 
-            if (pod.isTerminated()) {
+            if (pod.isTerminated() || !pod.isScheduled()) {

Review comment:
       I've created FLINK-21667 for this.




----------------------------------------------------------------
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:
[email protected]


Reply via email to