You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Paul Zaczkieiwcz (JIRA)" <ji...@apache.org> on 2016/12/08 16:35:58 UTC
[jira] [Created] (AIRFLOW-687) Gracefully halt workers through CLI
Paul Zaczkieiwcz created AIRFLOW-687:
----------------------------------------
Summary: 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
(v6.3.4#6332)