workflow - How to remove default example dags in airflow -
i new user of airbnb open source workflow/datapipeline software airflow, on github url https://github.com/apache/incubator-airflow. there dozen of default example dags after web ui started. make me feel stupid tried many ways remove these dags , failed so. load_examples = false set in airflow.cfg. folder lib/python2.7/site-packages/airflow/example_dags removed. states of example dags changed gray after removed folder of dag pythons scripts. items still occupy web ui screen. , new dag folder specified in airflow.cfg dags_folder = /mnt/dag/1. checked dag folder, nothing there. weird me why difficult remove these examples.
when startup airflow, make sure set:
load_examples = false
inside airflow.cfg.
if have started airflow not set false, can set false , run airflow resetdb
in cli (!which destroy current dag information!).
alternatively can go airflow_db
, manually delete entries dag
table.
Comments
Post a Comment