shahar1 commented on code in PR #72030:
URL: https://github.com/apache/airflow/pull/72030#discussion_r4432212060


##########
providers/google/src/airflow/providers/google/cloud/operators/dataproc.py:
##########
@@ -2089,6 +2106,10 @@ def execute_complete(self, context, event=None) -> None:
         """
         job_state = event["job_state"]
         job_id = event["job_id"]
+        if job_state == "TIMED_OUT":
+            raise AirflowException(

Review Comment:
   Changed to `AirflowTaskTimeout` (imported from 
`airflow.providers.common.compat.sdk`). It is the same exception the 
non-deferrable path raises when `execution_timeout` is hit, so retries behave 
the same in both modes. The `known_airflow_exceptions.txt` bump is reverted, 
since there is no new `AirflowException` any more.



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