airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Imberman (Jira)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-5545) dag.test_cycle uses recursion, limiting DAG length.
Date Tue, 24 Sep 2019 00:57:00 GMT

    [ https://issues.apache.org/jira/browse/AIRFLOW-5545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16936280#comment-16936280
] 

Daniel Imberman commented on AIRFLOW-5545:
------------------------------------------

and they told me studying algorithms wouldn't apply in the real world :)

> 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: 1.10.6
>
>
> 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