You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Chris Riccomini (JIRA)" <ji...@apache.org> on 2017/09/18 18:37:00 UTC

[jira] [Updated] (AIRFLOW-1356) add `--celery_hostname` to `airflow worker`

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

Chris Riccomini updated AIRFLOW-1356:
-------------------------------------
    Fix Version/s: 1.9.0

> add `--celery_hostname` to `airflow worker`
> -------------------------------------------
>
>                 Key: AIRFLOW-1356
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1356
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: celery, cli
>    Affects Versions: 1.8.1
>            Reporter: Joseph Yen
>            Priority: Minor
>              Labels: easyfix, newbie
>             Fix For: 1.9.0
>
>
> If we start multiple `celery worker` on the same machine, each worker should have individual hostname to distinguish each other. Otherwise, some tools might not work correctly. E.g. celery flower would show only one worker if all workers are of the same hostname.
> It's necessary to have `--celery_hostname` or `-cn` option on `airflow worker` subcommand, and the option should accept an argument with the syntax as same as the option `-n` of `celery worker` command.
> celery worker doc: http://docs.celeryproject.org/en/latest/userguide/workers.html
> {code:none}
> airflow worker -c 1 -q highmem -cn highmem@%h
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)