气流正在使用SequentialExecutor,尽管在Airflow.cfg中将executor设置为LocalExecutor

气流正在使用SequentialExecutor,尽管在Airflow.cfg中将executor设置为LocalExecutor,airflow,Airflow,我无法让本地执行器工作 我创建了一个名为airflow的postgres数据库,并将所有权限授予airflow用户。最后,我更新了airflow.cfg文件: # The executor class that airflow should use. Choices include # SequentialExecutor, LocalExecutor, CeleryExecutor, DaskExecutor, KubernetesExecutor executor = LocalExecut

我无法让本地执行器工作

我创建了一个名为airflow的postgres数据库,并将所有权限授予airflow用户。最后,我更新了airflow.cfg文件:

# The executor class that airflow should use. Choices include
# SequentialExecutor, LocalExecutor, CeleryExecutor, DaskExecutor, KubernetesExecutor
executor = LocalExecutor 

# The SqlAlchemy connection string to the metadata database.
# SqlAlchemy supports many different database engine, more information
# their website
sql_alchemy_conn = postgresql+psycopg2://airflow:[MY_PASSWORD]@localhost:5432/airflow 
接下来我跑:

airflow initdb
airflow scheduler
airflow webserver
我以为它能工作,但我注意到我的DAG需要很长时间才能完成。在进一步检查我的日志文件后,我注意到他们说Airflow正在使用SequentialExecutor

INFO - Job 319: Subtask create_task_send_email [2020-01-07 12:00:16,997] {__init__.py:51} INFO - Using executor SequentialExecutor

有人知道这是什么原因吗

你能把你的DAG寄出去吗?有什么办法吗?我也有同样的问题