Arthur Purvis

u can try:

1. airflow backfill -s start_date -e end_date your_DAG
2. airflow trigger_dag your_DAG

u can see the detail information by the official document

hope to help u
Arthur Purvis <apur...@lumoslabs.com>于2016年8月2日 周二下午10:55写道:

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

Reply via email to