dirrao commented on code in PR #37447:
URL: https://github.com/apache/airflow/pull/37447#discussion_r1491264600


##########
airflow/providers/cncf/kubernetes/operators/spark_kubernetes.py:
##########
@@ -255,6 +258,8 @@ def custom_obj_api(self) -> CustomObjectsApi:
 
     def execute(self, context: Context):
         self.log.info("Creating sparkApplication.")
+        if self.override_existing:
+            self.on_kill()

Review Comment:
   `spark_obj_spec` won't be available to delete the spark job?



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

Reply via email to