airflow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arthur Purvis <apur...@lumoslabs.com>
Subject What is the best way to retry an entire DAG instead of just a single task?
Date Tue, 02 Aug 2016 14:55:02 GMT
Apologies if this is a dumb question, but I'm looking for a way to retry an
entire DAG if a single task fails, rather than retry just that task.

The context is that of a job starter + sensor, and if the sensor fails it
means the job needs to be restarted, not just re-sensored.

>From reading the documentation it seems like TriggerDagRunOperator could be
cajoled into doing this, but it feels a little... clunky.  Is this indeed
the best way to restart an entire DAG when one of the tasks fails?

Thanks.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message