TQJADE commented on code in PR #909:
URL: 
https://github.com/apache/spark-kubernetes-operator/pull/909#discussion_r4139175737


##########
spark-operator/src/main/java/org/apache/spark/k8s/operator/reconciler/reconcilesteps/ClusterInitStep.java:
##########
@@ -78,8 +78,7 @@ public ReconcileProgress reconcile(
         // Whether the master is live is unknown, not answered. Holding would 
claim in an event
         // that none was requested, and would release the Kueue quota of a 
running master, so
         // look again with the steady-state interval instead.
-        log.warn("Failed to check whether the master of a suspended cluster 
exists.", e);
-        return completeAndDefaultRequeue();
+        return SuspendUtils.retryAfterCheckFailure(context, e, "master and 
workers");
       }
       if (!masterRequested) {

Review Comment:
   added param isMasterRequested in the method holdForKueueAdmission



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to