jack created AIRFLOW-4927:
-----------------------------

             Summary: 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
            Reporter: jack


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
(v7.6.3#76005)

Reply via email to