You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/03/20 20:39:41 UTC
[GitHub] [airflow] dimberman opened a new issue #7788: webgui cannot display
all tasks
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':['sln@fcoo.dk'], '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:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] dimberman commented on issue #7788: webgui cannot display
all tasks
Posted by GitBox <gi...@apache.org>.
dimberman commented on issue #7788: webgui cannot display all tasks
URL: https://github.com/apache/airflow/issues/7788#issuecomment-605731358
@mik-laj that looks like it fixes the issue :)
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] dimberman closed issue #7788: webgui cannot display all
tasks
Posted by GitBox <gi...@apache.org>.
dimberman closed issue #7788: webgui cannot display all tasks
URL: https://github.com/apache/airflow/issues/7788
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] dimberman commented on issue #7788: webgui cannot display
all tasks
Posted by GitBox <gi...@apache.org>.
dimberman commented on issue #7788: webgui cannot display all tasks
URL: https://github.com/apache/airflow/issues/7788#issuecomment-601907939
Pulled from https://issues.apache.org/jira/projects/AIRFLOW/issues/AIRFLOW-6799?filter=allopenissues
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow] mik-laj commented on issue #7788: webgui cannot display
all tasks
Posted by GitBox <gi...@apache.org>.
mik-laj commented on issue #7788: webgui cannot display all tasks
URL: https://github.com/apache/airflow/issues/7788#issuecomment-601909740
https://github.com/apache/airflow/pull/7492
Is it related?
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services