我想隐藏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 (孤注一掷)发布于 2018-12-03 13:28:46
在使用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发布于 2021-12-14 20:45:50
对于那些使用Google的用户,可以通过在Airflow Configuration Overrides中添加以下条目来实现这一点
Section: webserver
Key: hide_paused_dags_by_default
Value: truehttps://stackoverflow.com/questions/53550431
复制相似问题