karenbraganz commented on code in PR #68048:
URL: https://github.com/apache/airflow/pull/68048#discussion_r3760596373
##########
providers/apache/spark/src/airflow/providers/apache/spark/hooks/spark_submit.py:
##########
@@ -1212,7 +1245,7 @@ def _poll_k8s_driver_via_api(self) -> str | None:
)
terminal_phase = phase
break
- if phase == "Failed":
+ if phase == "Failed" and not container_completed:
Review Comment:
I didn't want the task to fail as long as the driver completes successfully.
Will log a warning about pod failure.
--
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]