You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/02/04 16:20:37 UTC

[GitHub] [airflow] xangxiong commented on issue #11301: Celery 5.0

xangxiong commented on issue #11301:
URL: https://github.com/apache/airflow/issues/11301#issuecomment-773430540


   For anyone who is experiencing this issue, here is how I changed my airflow worker commands to bypass Airflow for now.
   
   Previously:
   /usr/local/bin/airflow worker --log-file "${LOG_FILE}" --queues "${AIRFLOW_CELERY_QUEUE}" --celery_hostname "${AIRFLOW_CELERY_HOSTNAME}" -c "${AIRFLOW_CELERY_INSTANCES}"
   
   Current with Celery 5.0.5:
   /usr/local/bin/celery --app airflow.executors.celery_executor worker -Q "${AIRFLOW_CELERY_QUEUE}" -c "${AIRFLOW_CELERY_INSTANCES}" --logfile "${LOG_FILE}" --hostname "${AIRFLOW_CELERY_HOSTNAME}"
   
   Hopefully this helps you if you are on Airflow 1.10.X.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org