Hi! I am testing the Operator and I found that airflow is marking a task as SUCCESS even though the EMR job state is FAILED.
I think the problem is in the EmrServerlessHook, this condition:
if state in failure_states:
raise AirflowException(
f"{object_type.title()} reached failure state {state}."
)
should be at the end in the while loop.
Thanks!
Hi! I am testing the Operator and I found that airflow is marking a task as
SUCCESSeven though the EMR job state isFAILED.I think the problem is in the
EmrServerlessHook, this condition:should be at the end in the while loop.
Thanks!