简体   繁体   English

Airflow Dag状态在Webserver中不一致

[英]Airflow Dag Statuses Inconsistent in Webserver

I have an Airflow cluster up, configured to use the CeleryExecutor and a Postgres backend. 我有一个Airflow集群,配置为使用CeleryExecutor和Postgres后端。

For some reason, the statuses of the DAGs on the Webserver UI are inconsistent every time I refresh. 出于某种原因,每次刷新时,Webserver UI上的DAG状态都不一致。 Upon each refresh, it shows many different things such as the DAG not available in the webserver dagbag object, or black statuses, or hiding the links on the right. 每次刷新时,它会显示许多不同的内容,例如Web服务器dagbag对象中不可用的DAG,或黑色状态,或隐藏右侧的链接。

It changes on each refresh. 它会在每次刷新时更改。

Here are a few screenshots: 以下是一些截图:

Run airflow web-server in debug mode than you can get this resolved 在调试模式下运行气流Web服务器,而不是解决此问题

airflow webserver -p <<port>> -d

The problem seems to be some dynamic code changes happening on new dag creation and hence production mode flask server is not patching it through 问题似乎是在新dag创建时发生了一些动态代码更改,因此生产模式flask服务器没有修补它

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM