You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Ash Berlin-Taylor (JIRA)" <ji...@apache.org> on 2019/05/01 11:41:00 UTC

[jira] [Closed] (AIRFLOW-84) Queued tasks in Airflow not being prioritized and scheduled

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

Ash Berlin-Taylor closed AIRFLOW-84.
------------------------------------
    Resolution: Cannot Reproduce

3 year old issue, and airflow has changed _a lot_ since then. If anyone runs in to this on the latest version please open a new ticket.

> Queued tasks in Airflow not being prioritized and scheduled
> -----------------------------------------------------------
>
>                 Key: AIRFLOW-84
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-84
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Kevin Lin
>            Priority: Major
>
> We consistently hit an issue that Airflow didn't schedule any tasks/jobs for several hours until we restart worker & scheduler.
> We're on 1.6.2 with celeryd enabled.
> From scheduler logs, we didn't observe any suspicious error messages. Other than during the entire time period (several hours), it's always {quote} Prioritizing 0 queued jobs. {quote}
> While in the worker logs, we did find error messages like following. The message is sort of generic, so not sure anything quite useful there.
> But wondering what might cause MainProcess keeps failing in celery_executor? e.g. OOM on the client machine etc.? 
> {quote}
> 2016-05-04T07:44:10.10441 2016-05-04 07:44:10,104: ERROR/MainProcess Task airflow.executors.celery_executor.execute_commanda900d1f1-6abf-4d13-a403-7ec884abd565 raised unexpected: AirflowException('Celery command failed',)
> 2016-05-04T07:44:10.10442 Traceback (most recent call last):
> 2016-05-04T07:44:10.10442 File "/usr/local/lib/service_venv/local/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task
> 2016-05-04T07:44:10.10442 R = retval = fun(*args, **kwargs)
> 2016-05-04T07:44:10.10442 File "/usr/local/lib/service_venv/local/lib/python2.7/site-packages/celery/app/trace.py", line 438, in protected_call
> 2016-05-04T07:44:10.10443 return self.run(*args, **kwargs)
> 2016-05-04T07:44:10.10443 File "/usr/local/lib/service_venv/local/lib/python2.7/site-packages/airflow/executors/celery_executor.py", line 43, in execute_command
> 2016-05-04T07:44:10.10443 raise AirflowException('Celery command failed')
> 2016-05-04T07:44:10.10443 AirflowException: Celery command failed
> {quote} 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)