kaxil commented on issue #15468:
URL: https://github.com/apache/airflow/issues/15468#issuecomment-958356476


   Like @eladkal mentioned - I have had similar requirements like him and I 
would have `on_failure_callbacks` notifying that my task failed.
   
   For your case, you can write a CustomOperator which you have at the end that 
checks if your EMR task failed or not and fail this task itself, thereby the 
DagRun will also be failed as it is the last task.
   
   
   ---
   
   Your feature request while legit need more thinking through:
   - What happens when there are more than one terminal tasks
   - Do we want to allow users to set which task_id need to succeed for DagRun 
status


-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to