python - 气流调度程序异常停止
问题描述
我在问题中附上了错误消息
ERROR - Exception when executing SchedulerJob._run_scheduler_loop
Traceback (most recent call last):
File "/home/centos/env_airflow/lib64/python3.6/site-packages/sqlalchemy/engine/base.py", line 1277, in _execute_context
cursor, statement, parameters, context
File "/home/centos/env_airflow/lib64/python3.6/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute
cursor.execute(statement, parameters)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
解决方案
PostgreSQL 数据库服务器意外关闭了连接。查看 PostgreSQL 日志文件以获得解释。
在那里,您将找到解释原因的错误消息,或者您会找到类似的消息(意外连接丢失),这表明恶意防火墙或路由器中断了网络连接。
推荐阅读
- javascript - 如何从 javascript(.js 文件)按钮单击事件调用或触发 Angular 组件方法
- python - 根据行值对 Pandas 中的列求和
- ios - Swift 4 @IBAction UIButton 动作没有被正确调用
- java - 在java中读取MNIST数据库非常慢
- java - 有 2 个按钮影响相同的标签
- c++ - 如何使用 C++ 扩展禁用虚假的 Visual Studio Code 智能感知错误?
- javascript - 将数字四舍五入到相同的距离
- git - 为 git 子模块指定分支?
- c - 将十六进制数字转换为十进制以进行比较 (C)
- mysql - 如何在 MySQL 中进行派生查询