airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kaxil Naik (Jira)" <j...@apache.org>
Subject [jira] [Updated] (AIRFLOW-5545) dag.test_cycle uses recursion, limiting DAG length.
Date Wed, 18 Dec 2019 01:29:00 GMT

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

Kaxil Naik updated AIRFLOW-5545:
--------------------------------
    Fix Version/s:     (was: 1.10.7)
                   2.0.0

> dag.test_cycle uses recursion, limiting DAG length.
> ---------------------------------------------------
>
>                 Key: AIRFLOW-5545
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5545
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: DAG
>    Affects Versions: 1.10.3, 1.10.4, 1.10.5
>            Reporter: Daniel Imberman
>            Assignee: Daniel Imberman
>            Priority: Critical
>             Fix For: 2.0.0
>
>
> DAG Parsing is currently breaking for long DAGs because test_cycle uses recursive DFS
> Example breaking DAG
>  
> {code:java}
> dag = DAG( 'dag', start_date=DEFAULT_DATE, default_args={'owner': 'owner1'})
> with dag: 
>     last = dag 
>      for i in range(1,10000): 
>          op = DummyOperator(task_id='{}'.format(i)) 
>          last >> op 
>          last = op
> {code}



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

Mime
View raw message