You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Yuliya Volkova (JIRA)" <ji...@apache.org> on 2018/02/16 07:35:00 UTC
[jira] [Commented] (AIRFLOW-215) Airflow worker (CeleryExecutor)
needs to be restarted to pick up tasks
[ https://issues.apache.org/jira/browse/AIRFLOW-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16366680#comment-16366680 ]
Yuliya Volkova commented on AIRFLOW-215:
----------------------------------------
[~bolke], is this issue fixed already? If is, maybe close the task?
Didn't catch this behavior on 1.9.0
> Airflow worker (CeleryExecutor) needs to be restarted to pick up tasks
> ----------------------------------------------------------------------
>
> Key: AIRFLOW-215
> URL: https://issues.apache.org/jira/browse/AIRFLOW-215
> Project: Apache Airflow
> Issue Type: Bug
> Components: celery, subdag
> Affects Versions: Airflow 1.7.1.2
> Reporter: Cyril Scetbon
> Priority: Major
>
> We have a main dag that dynamically creates subdags containing tasks using BashOperator. Using CeleryExecutor we see Celery tasks been created with *STARTED* status but they are not picked up by our worker. However, if we restart our worker, then tasks are picked up.
> Here you can find code if you want to try to reproduce it https://www.dropbox.com/s/8u7xf8jt55v8zio/dags.zip.
> We also tested using LocalExecutor and everything worked fine.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)