peter-toth commented on code in PR #869:
URL: 
https://github.com/apache/spark-kubernetes-operator/pull/869#discussion_r4081127649


##########
spark-operator/src/main/java/org/apache/spark/k8s/operator/reconciler/reconcilesteps/AppCleanUpStep.java:
##########
@@ -195,10 +195,13 @@ public ReconcileProgress reconcile(
           context, statusRecorder, state, 
Duration.ofMillis(requeueAfterMillis));
     } else {
 
+      // The resources have been released above. An application retaining them 
has returned
+      // already, so it cannot terminate as 
`TerminatedWithoutReleaseResources` here even if the
+      // retain policy applies and no more attempt is made.

Review Comment:
   Filed [SPARK-59734](https://issues.apache.org/jira/browse/SPARK-59734) for 
this, as a sub-task of SPARK-58286 with the measurement in the description, so 
there is nothing left for you to open.
   
   One note for it: `terminateAppWithoutReleaseResource` concatenates its own 
message without a separating space too, the same defect you fixed in the live 
branch here. Deleting it settles that, so it is not worth a second space.
   



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