Airflow: how to delete a DAG?

前端 未结 16 1005
感动是毒
感动是毒 2020-11-28 23:45

I have started the Airflow webserver and scheduled some dags. I can see the dags on web GUI.

How can I delete a particular DAG from being run and shown in web GUI? I

16条回答
  •  悲哀的现实
    2020-11-29 00:07

    Remove the dag(you want to delete) from the dags folder and run airflow resetdb.

    Alternatively, you can go into the airflow_db and manually delete those entries from the dag tables(task_fail, xcom, task_instance, sla_miss, log, job, dag_run, dag, dag_stats).

提交回复
热议问题