Unable to start Airflow worker/flower and need clarification on Airflow architecture to confirm that the installation is correct

一曲冷凌霜 提交于 2019-11-28 23:38:57

You need to ensure to install Celery Flower. That is, pip install flower.

The ImportError: No module named postgresql error is due to the invalid prefix used in your celery_result_backend. When using a database as a Celery backend, the connection URL must be prefixed with db+. See http://docs.celeryproject.org/en/latest/configuration.html#conf-database-result-backend

So replace:

celery_result_backend = postgresql+psycopg2://username:password@192.168.1.2:5432/airflow

with something like:

celery_result_backend = db+postgresql://username:password@192.168.1.2:5432/airflow
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!