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

jack updated AIRFLOW-4927:
--------------------------
    Affects Version/s: 1.10.6
                       1.10.5

> Airflow task stuck in Scheduled mode due to pool not existed
> ------------------------------------------------------------
>
>                 Key: AIRFLOW-4927
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4927
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.10.4, 1.10.5, 1.10.6
>            Reporter: jack
>            Priority: Major
>
> When operator uses pool like the scheduler schedule the task only when slot 
> is available.
> We encounter a case where one of our developers did:
>  
>  
> {code:java}
> op = CustomOperator(
>  task_id='id',
> conn_id='con',
> pool='file_default'){code}
>  
>  
> However file_default was not defined in pools.
> It took us hours to find that the pool does not exist. No error nor any 
> indication was given.
>  
> Airflow should raise broken DAG exception if trying to use pool that doesn't 
> exist. Much like it does for accessing Variable that doesn't exist.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to