airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bolke de Bruin (JIRA)" <>
Subject [jira] [Commented] (AIRFLOW-1641) Task gets stuck in queued state
Date Sun, 22 Oct 2017 21:04:00 GMT


Bolke de Bruin commented on AIRFLOW-1641:

Cause I need the feedback: I don't experience the issue myself, it is pretty core in the scheduler
what needs to be updated (the current patch doesn't work correctly), next to that the automated
testing helps to catch some errors (tests don't pass currently).

Also in addition to what is written here you can also limit parallelism to workaround the
issue. Staying in QUEUED means the task instance can't even start. Most likely due to load
or memory issues. This should be dealt with correctly (that is the real issue Im trying the
solve in de patch), but it will fail your task anyways.

> Task gets stuck in queued state
> -------------------------------
>                 Key: AIRFLOW-1641
>                 URL:
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: scheduler
>    Affects Versions: 1.8.0
>         Environment: Linux
>            Reporter: Mas
>            Assignee: Bolke de Bruin
>              Labels: queued, scheduler, stuck, task
>             Fix For: 1.9.0
> Hello,
> I have one dag with ~20 tasks. 
> The dags runs daily and some tasks can sometime last for hours, depending on the processed
data behind.
> There are some interactions with AWS and a remote DB.
> I only use LocalExecutor.
> What this issue is about, is the fact that sometime (randomly, and without any clear
reason) one of the tasks (here also, it is random) gets stuck in "queued" state and never
starts running. 
> The manual workaround is to restart the task manually by clearing it.
> Does anyone have ideas about the issue behind, and how to avoid it for the future? 
> Thanks in advance for your help.
> PS: other people are facing the same behaviour: [link|]

This message was sent by Atlassian JIRA

View raw message