dongjoon-hyun commented on code in PR #869:
URL: 
https://github.com/apache/spark-kubernetes-operator/pull/869#discussion_r4080830630


##########
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:
   Thank you. I agree that it is dead code now. Since `ApplicationStatus` is a 
public class of `spark-operator-api`, let me handle it in a new JIRA issue to 
keep this PR focused.



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