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/06/28 13:45:00 UTC
[jira] [Closed] (AIRFLOW-2736) Airflow 1.9.0+ Scheduler not
honouring "non_pooled_task_slot_count" config
[ https://issues.apache.org/jira/browse/AIRFLOW-2736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ash Berlin-Taylor closed AIRFLOW-2736.
--------------------------------------
Resolution: Cannot Reproduce
For a (now) old version of Airflow - please re-open if this still happens.
> Airflow 1.9.0+ Scheduler not honouring "non_pooled_task_slot_count" config
> --------------------------------------------------------------------------
>
> Key: AIRFLOW-2736
> URL: https://issues.apache.org/jira/browse/AIRFLOW-2736
> Project: Apache Airflow
> Issue Type: Bug
> Components: scheduler
> Affects Versions: 1.9.0
> Reporter: raman
> Priority: Major
>
> We are using airflow version 1.9 with celery executor. And we are observing that Airflow Scheduler is not honouring the "non_pooled_task_slot_count" config. We are using default setting which is set to 128. But we could schedule and run >128 tasks concurrently.
> From code it seems that scheduler is re-initialising the open_slots with 128 instead of setting the remaining left over slots.
> in Jobs.py
> for pool, task_instances in pool_to_task_instances.items():
> if not pool:
> # Arbitrary:
> # If queued outside of a pool, trigger no more than
> # non_pooled_task_slot_count per run
> open_slots = conf.getint('core', 'non_pooled_task_slot_count')
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)