问题
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.
I recently upgraded my Airflow db to MySQL to see if that would fix it but everything is still the same.
Is this a configuration issue in airflow.cfg
or something else?
回答1:
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.
Taking the same dag and renaming it from podcast_automator_v0.1
to 11
caused "Recent Tasks" and "Dag Runs" to appear:
来源:https://stackoverflow.com/questions/55875185/airflow-1-10-3-blank-recent-tasks-and-dag-runs