bin-lian commented on code in PR #46817:
URL: https://github.com/apache/airflow/pull/46817#discussion_r1958971915
##########
providers/apache/spark/src/airflow/providers/apache/spark/hooks/spark_submit.py:
##########
@@ -557,7 +557,7 @@ def submit(self, application: str = "", **kwargs: Any) ->
None:
# Check spark-submit return code. In Kubernetes mode, also check the
value
# of exit code in the log, as it may differ.
- if returncode or (self._is_kubernetes and self._spark_exit_code != 0):
+ if returncode:
Review Comment:
Hi, did I describe it clearly? Do you need me to explain it in more detail?
--
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]