English 中文(简体)
空气流量:错误:不能与CeleryExecutor使用qlite
原标题:airflow.exceptions.AirflowConfigException: error: cannot use sqlite with the CeleryExecutor

我曾试图利用Docker Compose在我的当地机器上安装阿帕奇空中交通。

我遵循了航空文件提供的Docker Compose官方指南(

尽管遵循了文件概述的步骤,但在管理指挥系统时,我遇到了一个问题,即:<条码> cker器堆积了空投-init ,以建立一个用户账户。 这一过程脱离了第1条,我收到以下错误。

airflow-airflow-init-1       | Traceback (most recent call last):
airflow-airflow-init-1       |   File "/home/airflow/.local/bin/airflow", line 5, in <module>
airflow-airflow-init-1       |     from airflow.__main__ import main
airflow-airflow-init-1       |   File "/home/airflow/.local/lib/python3.6/site-packages/airflow/__init__.py", line 34, in <module>
airflow-airflow-init-1       |     from airflow import settings
airflow-airflow-init-1       |   File "/home/airflow/.local/lib/python3.6/site-packages/airflow/settings.py", line 35, in <module>
airflow-airflow-init-1       |     from airflow.configuration import AIRFLOW_HOME, WEBSERVER_CONFIG, conf  # NOQA F401
airflow-airflow-init-1       |   File "/home/airflow/.local/lib/python3.6/site-packages/airflow/configuration.py", line 1129, in <module>
airflow-airflow-init-1       |     conf.validate()
airflow-airflow-init-1       |   File "/home/airflow/.local/lib/python3.6/site-packages/airflow/configuration.py", line 224, in validate
airflow-airflow-init-1       |     self._validate_config_dependencies()
airflow-airflow-init-1       |   File "/home/airflow/.local/lib/python3.6/site-packages/airflow/configuration.py", line 267, in _validate_config_dependencies     
airflow-airflow-init-1       |     raise AirflowConfigException(f"error: cannot use sqlite with the {self.get( core ,  executor )}")
airflow-airflow-init-1       | **airflow.exceptions.AirflowConfigException: error: cannot use sqlite with the CeleryExecutor**

我曾试图从头开始,删除所有内容,并再次遵循建立进程。 然而,同样的错误依然存在。

问题回答

问题与你收到的错误信息一样:

空气流量:错误:不能与CeleryExecutor使用qlite

您正在使用<条码>CeleryExecutor,但与Sqlite不合作。 如果你想要使用Sqlite的话,你需要使用<代码>SequentialExecutor。 引用::

在你首次安装空中交通时,SequentialExecutor是违约的检察官。 它是唯一能够使用微粒的迫害者,因为qlite不支持多种联系。

如果希望使用CeleryExecutor,你必须把MySQL或PogresSQL作为后备数据库。





相关问题
Can Django models use MySQL functions?

Is there a way to force Django models to pass a field to a MySQL function every time the model data is read or loaded? To clarify what I mean in SQL, I want the Django model to produce something like ...

An enterprise scheduler for python (like quartz)

I am looking for an enterprise tasks scheduler for python, like quartz is for Java. Requirements: Persistent: if the process restarts or the machine restarts, then all the jobs must stay there and ...

How to remove unique, then duplicate dictionaries in a list?

Given the following list that contains some duplicate and some unique dictionaries, what is the best method to remove unique dictionaries first, then reduce the duplicate dictionaries to single ...

What is suggested seed value to use with random.seed()?

Simple enough question: I m using python random module to generate random integers. I want to know what is the suggested value to use with the random.seed() function? Currently I am letting this ...

How can I make the PyDev editor selectively ignore errors?

I m using PyDev under Eclipse to write some Jython code. I ve got numerous instances where I need to do something like this: import com.work.project.component.client.Interface.ISubInterface as ...

How do I profile `paster serve` s startup time?

Python s paster serve app.ini is taking longer than I would like to be ready for the first request. I know how to profile requests with middleware, but how do I profile the initialization time? I ...

Pragmatically adding give-aways/freebies to an online store

Our business currently has an online store and recently we ve been offering free specials to our customers. Right now, we simply display the special and give the buyer a notice stating we will add the ...

Converting Dictionary to List? [duplicate]

I m trying to convert a Python dictionary into a Python list, in order to perform some calculations. #My dictionary dict = {} dict[ Capital ]="London" dict[ Food ]="Fish&Chips" dict[ 2012 ]="...

热门标签