You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Daniel Imberman (Jira)" <ji...@apache.org> on 2020/03/29 15:42:00 UTC

[jira] [Closed] (AIRFLOW-687) Gracefully halt workers through CLI

     [ https://issues.apache.org/jira/browse/AIRFLOW-687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Imberman closed AIRFLOW-687.
-----------------------------------
    Resolution: Auto Closed

> Gracefully halt workers through CLI
> -----------------------------------
>
>                 Key: AIRFLOW-687
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-687
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Paul Zaczkieiwcz
>            Priority: Minor
>
> When deploying a new set of airflow DAGs, it is useful to gracefully shut down all airflow services and restart them.  This allows you to pip install requirements for your DAGs in a virtual environment so that you're sure that your DAGs don't contain unmet dependencies.
> Trouble is, if you kill the celery workers then they'll drop their current task on the floor. There should be a CLI option to gracefully shut down the workers so that deploy scripts can restart all services without worrying about killing the workers.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)