Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/amazon-s3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
当使用postgresSQL 12作为后端数据库时,Airflow Scheduler不断发出警告_Airflow_Airflow Scheduler - Fatal编程技术网

当使用postgresSQL 12作为后端数据库时,Airflow Scheduler不断发出警告

当使用postgresSQL 12作为后端数据库时,Airflow Scheduler不断发出警告,airflow,airflow-scheduler,Airflow,Airflow Scheduler,执行时,气流调度器正在继续打印以下消息,并且任务未被拾取 [2020-02-21 09:21:20,696] {dag_processing.py:663} WARNING - DagFileProcessorManager (PID=11895) exited with exit code -11 - re-launching [2020-02-21 09:21:20,699] {dag_processing.py:556} INFO - Launched DagFileProcessorMa

执行
时,气流调度器
正在继续打印以下消息,并且任务未被拾取

[2020-02-21 09:21:20,696] {dag_processing.py:663} WARNING - DagFileProcessorManager (PID=11895) exited with exit code -11 - re-launching
[2020-02-21 09:21:20,699] {dag_processing.py:556} INFO - Launched DagFileProcessorManager with pid: 11898
[2020-02-21 09:21:20,711] {settings.py:54} INFO - Configured default timezone <Timezone [UTC]>
[2020-02-21 09:21:20,725] {settings.py:253} INFO - settings.configure_orm(): Using pool settings. pool_size=5, max_overflow=10, pool_recycle=1800, pid=11898
[2020-02-21 09:21:22,701] {dag_processing.py:663} WARNING - DagFileProcessorManager (PID=11898) exited with exit code -11 - re-launching
[2020-02-21 09:21:22,704] {dag_processing.py:556} INFO - Launched DagFileProcessorManager with pid: 11905
[2020-02-21 09:21:22,712] {settings.py:54} INFO - Configured default timezone <Timezone [UTC]>
[2020-02-21 09:21:22,722] {settings.py:253} INFO - settings.configure_orm(): Using pool settings. pool_size=5, max_overflow=10, pool_recycle=1800, pid=11905
[2020-02-21 09:21:24,704] {dag_processing.py:663} WARNING - DagFileProcessorManager (PID=11905) exited with exit code -11 - re-launching
[2020-02-21 09:21:24,706] {dag_processing.py:556} INFO - Launched DagFileProcessorManager with pid: 11907
[2020-02-21 09:21:24,717] {settings.py:54} INFO - Configured default timezone <Timezone [UTC]>
[2020-02-21 09:21:24,728] {settings.py:253} INFO - settings.configure_orm(): Using pool settings. pool_size=5, max_overflow=10, pool_recycle=1800, pid=11907
[2020-02-21 09:21:26,710] {dag_processing.py:663} WARNING - DagFileProcessorManager (PID=11907) exited with exit code -11 - re-launching
[2020-02-21 09:21:20696]{dag_processing.py:663}警告-已退出DagFileProcessorManager(PID=11895),退出代码为-11-重新启动
[2020-02-21 09:21:20699]{dag_processing.py:556}INFO-已启动带有pid:11898的DagFileProcessorManager
[2020-02-21 09:21:20711]{settings.py:54}信息-配置的默认时区
[2020-02-21 09:21:20725]{settings.py:253}INFO-settings.configure_orm():使用池设置。池大小=5,最大溢出=10,池回收=1800,pid=11898
[2020-02-21 09:21:22701]{dag_processing.py:663}警告-DagFileProcessorManager(PID=11898)已退出,退出代码为-11-重新启动
[2020-02-21 09:21:22704]{dag_processing.py:556}INFO-已启动带有pid:11905的DagFileProcessorManager
[2020-02-21 09:21:22712]{settings.py:54}信息-配置的默认时区
[2020-02-21 09:21:22722]{settings.py:253}INFO-settings.configure_orm():使用池设置。池大小=5,最大溢出=10,池回收=1800,pid=11905
[2020-02-21 09:21:24704]{dag_processing.py:663}警告-DagFileProcessorManager(PID=11905)已退出,退出代码为-11-重新启动
[2020-02-21 09:21:24706]{dag_processing.py:556}INFO-已启动带有pid:11907的DagFileProcessorManager
[2020-02-21 09:21:24717]{settings.py:54}信息-配置的默认时区
[2020-02-21 09:21:24728]{settings.py:253}INFO-settings.configure_orm():使用池设置。池大小=5,最大溢出=10,池回收=1800,pid=11907
[2020-02-21 09:21:26710]{dag_processing.py:663}警告-DagFileProcessorManager(PID=11907)已退出,退出代码为-11-重新启动
设置:PostgreSQL 12作为后端数据库,使用airflow v1.10.9


但如果我改为PostgreSQL 11,调度程序将按预期运行。是否有人面临同样的问题?

您想使用Postgres 12版有什么特别的原因吗?在撰写本文时,1.10.x不支持Postgresql第12版

根据其github页面, Apache Airflow通过以下方式进行测试:

主版本(2.0.0dev) Python版本:3.6、3.7 博士后数据库:9.6,10 MySQL数据库:5.7 Sqlite-最新稳定版本(主要用于开发目的)

稳定版本(1.10.9) Python版本:2.7、3.5、3.6、3.7 博士后数据库:9.6,10 MySQL数据库:5.6,5.7
Sqlite-最新稳定型(主要用于开发)

用于使用pgsql12测试气流