aalopatin commented on code in PR #63922:
URL: https://github.com/apache/airflow/pull/63922#discussion_r2959346100
##########
providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/operators/custom_object_launcher.py:
##########
@@ -309,6 +309,9 @@ def start_spark_job(self, image=None, code_path=None,
startup_timeout: int = 600
delta = dt.now() - curr_time
if delta.total_seconds() >= startup_timeout:
pod_status =
self.pod_manager.read_pod(self.pod_spec).status.container_statuses
+ pod_name = self.spark_obj_spec["metadata"]["name"]
Review Comment:
Yeah, you're right. It's the name of the CRD, I took this part from another
method of the provider, pod_name was used there and delete_spark_job actually
deletes CRD not the driver pod.
--
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]