Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to restart dag and tasks in airflow even they were succeed.

I was trying to restart the whole dag and tasks even they succeeded.

I made a dag and run an instance of dag. there are 5 tasks this day. the first four tasks were succeeded but the last task was failed. so I made a change on these tasks. I want these 5 tasks can re-run again. but the first four tasks never get rerun. airflow do some unwanted thing that directly to run the last task and pretended it has rerun the first four tasks. even i did som many changed in the first four tasks. Is there anyone can help me? enter image description here

like image 379
vito yan Avatar asked Nov 01 '18 07:11

vito yan


1 Answers

You need to clear the DAG run: Click on the top green circle and click on the Clear button, then confirm clearing the tasks.

like image 170
SergiyKolesnikov Avatar answered Sep 30 '22 14:09

SergiyKolesnikov