【发布时间】:2023-01-16 16:21:27
【问题描述】:
我正在使用官方 Docker 映像运行分布式 Airflow 2.4.0 安装程序。所有容器都使用相同的.env 文件和相同版本的 Airflow 图像。当我登录其中一个 Airflow 容器时,我收到此警告:
/home/airflow/.local/lib/python3.7/site-packages/airflow/configuration.py:545: DeprecationWarning: The sql_alchemy_conn option in [core] has been moved to the sql_alchemy_conn option in [database] - the old setting has been used, but please update your config.
option = self._get_environment_variables(deprecated_key, deprecated_section, key, section)
/home/airflow/.local/lib/python3.7/site-packages/airflow/configuration.py:545: DeprecationWarning: The auth_backend option in [api] has been renamed to auth_backends - the old setting has been used, but please update your config.
option = self._get_environment_variables(deprecated_key, deprecated_section, key, section)
/home/airflow/.local/lib/python3.7/site-packages/airflow/configuration.py:367: FutureWarning: The auth_backends setting in [api] has had airflow.api.auth.backend.session added in the running config, which is needed by the UI. Please update your config before Apache Airflow 3.0.
FutureWarning,
我检查了容器内的airflow.cfg,它有最新的变量。为什么我仍然收到警告消息?
【问题讨论】:
标签: airflow