dimberman opened a new issue #7788: webgui cannot display all tasks
URL: https://github.com/apache/airflow/issues/7788
 
 
   <!--
   
   Welcome to Apache Airflow!  For a smooth issue process, try to answer the 
following questions.
   Don't worry if they're not all applicable; just try to include what you can 
:-)
   
   If you need to include code snippets or logs, please put them in fenced code
   blocks.  If they're super-long, please use the details tag like
   <details><summary>super-long log</summary> lots of stuff </details>
   
   Please delete these comment blocks before submitting the issue.
   
   -->
   
   <!--
   
   IMPORTANT!!!
   
   Please complete the next sections or the issue will be closed.
   This questions are the first thing we need to know to understand the context.
   
   -->
   
   **Apache Airflow version**:
   1.10.7, 1.10.9
   **What happened**:
   
   
   
   We have a "to_many" task the graph rendering stops with an
   Edge 'undefined' is not in graph javascript error,
   
   There is no graph in the webgui. Lowering the number of task will enable the 
the rendering again.
   
   Examplecode:
   ```
   from airflow import DAG
   from airflow.models import DAG
   from airflow.operators.dummy_operator import DummyOperator
   
   from datetime import datetime
   from datetime import timedelta
   
   DAG_task_concurrency = 30
   DAG_max_active_runs = 10
   
   MAIN_DAG_ID = 'BUG_IN_GRAPH_DISPLAY'
   
   default_args =
   { 'owner':'prod', 'depends_on_past':False, 'email':['[email protected]'], 
'email_on_failure':False, 'email_on_retry':False, 'retries':3, 
'retry_delay':timedelta(seconds=30), 'queue':'default'}
   
   BUG_DAG = DAG(MAIN_DAG_ID,
   default_args=default_args,
   catchup=False,
   orientation='LR',
   concurrency=DAG_task_concurrency,
   schedule_interval='@once',
   max_active_runs=DAG_max_active_runs,
   start_date=(datetime(2020, 2, 5))
   )
   
       To many tasks
       max_task = 160
       156 ok
   
   task_range = list(range(0, max_task + 1))
   
   start_task = DummyOperator(task_id='start_task', dag=BUG_DAG)
   after_all_complete = DummyOperator(task_id='after_all_complete', dag=BUG_DAG)
   
   for task_step in task_range:
   task1 = DummyOperator(task_id='task_
   {0}
   
   '.format(task_step),dag=BUG_DAG)
   start_task >> task1 >> after_all_complete
   ```
   
   **What you expected to happen**:
   
   <!-- What do you think went wrong? -->
   
   **How to reproduce it**:
   
   Create an airflow deployment with this DAG file
   
   <!---
   
   As minimally and precisely as possible. Keep in mind we do not have access 
to your cluster or dags.
   
   --->
   
   **Anything else we need to know**:
   
   <!--
   
   How often does this problem occur? Once? Every time etc?
   
   Any relevant logs to include? Put them here in side a detail tag:
   <details><summary>x.log</summary> lots of stuff </details>
   
   -->
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to