我想在UI上隐藏所有暂停的DAG,但是airflow.cfg上的配置似乎不起作用。
# By default, the webserver shows paused DAGs. Flip this to hide paused
# DAGs by default
hide_paused_dags_by_default = True #False by default
到目前为止,我已采取一些步骤使其生效:
airflow initdb
(拼命移动)答案 0 :(得分:0)
在使用systemd
时,请检查是否所有气流过程都被杀死
systemctl status airflow-webserver
systemctl status airflow-scheduler
systemctl status airflow-worker
# Stop them if they are "active"
systemctl stop airflow-webserver
systemctl stop airflow-scheduler
systemctl stop airflow-worker
还使用ps aux | grep airflow
然后更改您的airflow.cfg
文件并重新运行所有气流服务
systemctl restart airflow-webserver
systemctl restart airflow-scheduler
systemctl restart airflow-worker