气流1.10.3-空白的“最近任务”和“ DAG运行” [英] Airflow 1.10.3 - Blank "Recent Tasks" and "DAG Runs"
问题描述
我在Ubuntu 18.10上安装了Airflow 1.10.3,并能够添加DAG并运行它们,但Web UI中的近期任务和 DAG运行为空。我所看到的只是一个黑色的虚线圆圈,该圆圈不断加载,但没有实现。
I installed Airflow 1.10.3 on Ubuntu 18.10 and am able to add my DAGs and run them but "Recent Tasks" and "DAG Runs" in the Web UI are blank. All I see are a black dotted circle which keeps loading but nothing ever materializes.
我最近将Airflow db升级到了MySQL,以查看是否可以解决该问题,但一切都保持不变。
I recently upgraded my Airflow db to MySQL to see if that would fix it but everything is still the same.
这是 airflow.cfg
中的配置问题吗?
推荐答案
显然,DAG名称可以破坏近期任务和 Dag运行的HTML文档变量 querySelector
。使用DAG名称 podcast_automator_v0.1
将导致这两部分显示旋转装载机,直到至少有1个可接受的DAG名称为止。
Apparently the DAG name can break the HTML document variable querySelector
for "Recent Tasks" and "Dag Runs". Using the DAG name podcast_automator_v0.1
will cause these two sections to show spinning loaders until there is at least 1 acceptable DAG name.
使用相同的dag并从 podcast_automator_v0.1 $重命名c $ c>到
11
导致出现最近的任务和达格运行:
Taking the same dag and renaming it from podcast_automator_v0.1
to 11
caused "Recent Tasks" and "Dag Runs" to appear:
这篇关于气流1.10.3-空白的“最近任务”和“ DAG运行”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!