airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ludovic Claude (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AIRFLOW-25) Configuration for Celery always required
Date Sun, 01 May 2016 00:08:12 GMT

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

Ludovic Claude updated AIRFLOW-25:
----------------------------------
    Description: 
I have setup in airflow.cfg
  airflow_executor = LocalExecutor
and removed the [celery] section as I do not use it (I want to use MesosExecutor later on)

When I run
  airflow initdb

Airflow fails with this error:

{code}
[2016-04-30 23:53:38,430] {driver.py:120} INFO - Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
[2016-04-30 23:53:38,455] {driver.py:120} INFO - Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
[2016-04-30 23:53:38,583] {configuration.py:424} WARNING - section/key [celery/broker_url]
not found in config
[2016-04-30 23:53:38,583] {__init__.py:36} INFO - Using executor SequentialExecutor
[2016-04-30 23:53:38,895] {configuration.py:424} WARNING - section/key [celery/celeryd_concurrency]
not found in config
Traceback (most recent call last):
  File "/usr/local/bin/airflow", line 13, in <module>
    parser = get_parser()
  File "/usr/local/lib/python2.7/dist-packages/airflow/bin/cli.py", line 751, in get_parser
    default=configuration.get('celery', 'celeryd_concurrency'))
  File "/usr/local/lib/python2.7/dist-packages/airflow/configuration.py", line 520, in get
    return conf.get(section, key, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/airflow/configuration.py", line 428, in get
    "in config".format(**locals()))
airflow.configuration.AirflowConfigException: section/key [celery/celeryd_concurrency] not
found in config
{code}


  was:
I have setup in airflow.cfg
  airflow_executor = LocalExecutor
and removed the [celery] section as I do not use it (I want to use MesosExecutor later on)

When I run
  airflow initdb

Airflow fails with this error:

[2016-04-30 23:53:38,430] {driver.py:120} INFO - Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
[2016-04-30 23:53:38,455] {driver.py:120} INFO - Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
[2016-04-30 23:53:38,583] {configuration.py:424} WARNING - section/key [celery/broker_url]
not found in config
[2016-04-30 23:53:38,583] {__init__.py:36} INFO - Using executor SequentialExecutor
[2016-04-30 23:53:38,895] {configuration.py:424} WARNING - section/key [celery/celeryd_concurrency]
not found in config
Traceback (most recent call last):
  File "/usr/local/bin/airflow", line 13, in <module>
    parser = get_parser()
  File "/usr/local/lib/python2.7/dist-packages/airflow/bin/cli.py", line 751, in get_parser
    default=configuration.get('celery', 'celeryd_concurrency'))
  File "/usr/local/lib/python2.7/dist-packages/airflow/configuration.py", line 520, in get
    return conf.get(section, key, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/airflow/configuration.py", line 428, in get
    "in config".format(**locals()))
airflow.configuration.AirflowConfigException: section/key [celery/celeryd_concurrency] not
found in config



> Configuration for Celery always required
> ----------------------------------------
>
>                 Key: AIRFLOW-25
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-25
>             Project: Apache Airflow
>          Issue Type: Bug
>         Environment: Ubuntu 15.10, Airflow 1.7.0
>            Reporter: Ludovic Claude
>            Priority: Trivial
>
> I have setup in airflow.cfg
>   airflow_executor = LocalExecutor
> and removed the [celery] section as I do not use it (I want to use MesosExecutor later
on)
> When I run
>   airflow initdb
> Airflow fails with this error:
> {code}
> [2016-04-30 23:53:38,430] {driver.py:120} INFO - Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
> [2016-04-30 23:53:38,455] {driver.py:120} INFO - Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
> [2016-04-30 23:53:38,583] {configuration.py:424} WARNING - section/key [celery/broker_url]
not found in config
> [2016-04-30 23:53:38,583] {__init__.py:36} INFO - Using executor SequentialExecutor
> [2016-04-30 23:53:38,895] {configuration.py:424} WARNING - section/key [celery/celeryd_concurrency]
not found in config
> Traceback (most recent call last):
>   File "/usr/local/bin/airflow", line 13, in <module>
>     parser = get_parser()
>   File "/usr/local/lib/python2.7/dist-packages/airflow/bin/cli.py", line 751, in get_parser
>     default=configuration.get('celery', 'celeryd_concurrency'))
>   File "/usr/local/lib/python2.7/dist-packages/airflow/configuration.py", line 520, in
get
>     return conf.get(section, key, **kwargs)
>   File "/usr/local/lib/python2.7/dist-packages/airflow/configuration.py", line 428, in
get
>     "in config".format(**locals()))
> airflow.configuration.AirflowConfigException: section/key [celery/celeryd_concurrency]
not found in config
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message