airflow icon indicating copy to clipboard operation
airflow copied to clipboard

airflow worker not picking up tasks

Open nocrosstalk opened this issue 11 years ago • 3 comments

I'm new to airflow, installed all components on an empty Ubuntu server, airflow seems to run (webinterface works), RabbitMQ is receiving mesages, but if I run airflow worker nothing happens. When I run "airflow run tutorial print_date 2015-01-01" I see a message added to rabbitMq, but no message seems to be processed. Any hint to get me started with this? I don't believe Celery has to be started seperately?

nocrosstalk avatar Jul 28 '15 09:07 nocrosstalk

Check what queue you're sending the task to. If u want the worker to process a certain queue run it with "-q queuename". If you send your tasks to the default queue it should work out of the box. No celery extra setup needed in any case.

jomar83 avatar Jul 28 '15 11:07 jomar83

Working now, I was running at root and had to set a flag, blame on me. It's running now... Txs, next question in separate topic.

nocrosstalk avatar Jul 28 '15 11:07 nocrosstalk

Glad to hear it's working now. I really want Airflow to be easy to setup and use. Let us know if there's something we can clarify in the docs or use before defaults somewhere.

mistercrunch avatar Jul 29 '15 04:07 mistercrunch