airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-1356) add `--celery_hostname` to `airflow worker`
Date Sun, 23 Jul 2017 19:21:00 GMT

    [ https://issues.apache.org/jira/browse/AIRFLOW-1356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16097775#comment-16097775
] 

ASF subversion and git services commented on AIRFLOW-1356:
----------------------------------------------------------

Commit 1544c5d34bd09afc108b29a814165136e6b738db in incubator-airflow's branch refs/heads/v1-8-stable
from [~bolke]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=1544c5d ]

Revert "[AIRFLOW-1356] add `--celery_hostname` to `airflow worker`"

This reverts commit 95f5b80542fc6259f333a426c13f1652fa5631b4.


> 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
>
> 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)

Mime
View raw message