gpt4 book ai didi

执行任务后, Airflow 调度程序似乎没有运行

转载 作者:行者123 更新时间:2023-12-03 07:30:55 24 4
gpt4 key购买 nike

当有任务正在运行时,Airflow 会弹出一个通知,说调度程序似乎没有运行,并且一直显示直到任务完成:

The scheduler does not appear to be running. Last heartbeat was received 5 minutes ago.

The DAGs list may not update, and new tasks will not be scheduled.
实际上,调度程序进程正在运行,因为我已经检查了该进程。任务完成后,通知消失,一切恢复正常。
我的任务有点重,可能要运行几个小时。

最佳答案

我认为这是 Sequential Executor 所期望的。 Sequential Executor 一次只运行一件事,所以它不能同时运行心跳和任务。

为什么需要使用 Sequential Executor/Sqlite?切换到其他 DB/Executor 的建议非常有意义。

关于执行任务后, Airflow 调度程序似乎没有运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57668584/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com