-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dag Dependency page not showing anything #16610
Comments
Thanks for opening your first issue here! Be sure to follow the issue template! |
@SamiRehmanNostra Could you open the browser console and screenshot any error messages in the logs? Edit: |
Hi @bbovenzi , Please see the screenshot attached below:
Thank you, |
@SamiRehmanNostra Do you by chance have no dags at all? |
@ashb I have about 13 active dags, all running on different schedules. Not sure what has changed. Let me know if I need to share any logs. |
Hmmm tricky. Without having a reliable way of reproducing this it's going to be tricky to fix. Did you clear the DB when restarting the webserver? (Not likely, just checking) |
@ashb I have been able to reliably replicate it. If I only run the webserver the returned nodes and edges will be empty arrays. As soon as I run the scheduler both will populate and the graph will render. |
@bbovenzi Cool -- lets protect against that case as it is a cause of this problem. |
Yeah, I'll add some sort of "Dependency data could not be loaded right now" error message. |
@bbovenzi Its back people! |
@bbovenzi @ashb - It appears like for a fresh build this piece of code is setting value as None.
We just upgraded to 2.1.1 and see the dag dependencies empty. Tried restarting the scheduler multiple times but doesn't help. Could it be possible that task_type in the below piece of code is BaseOperator instead of the actual operator? IDK, haven't been able to reproduce this issue in my local.
I see this error message on the UI. Not sure if it is an underlying UI code issue or issue with the way things are being set. |
Hey, is this issue solved? I still have the same problem as @SamiRehmanNostra . |
Hi @xiaoxugao , I might need to open another issue, I upgraded to 2.2.0 I initially had no issues, but over the last couple of weeks been having some issues again. Not sure what the error is apart from this JS error. Thank you, |
We can just reopen this issue. You're right that it should've been fixed in 2.2.0. Let me replicate and see if something different is going on. |
any updates on this? I have the same issue with @SamiRehmanNostra. I'm on airflow 2.2.2 |
Yes, I finally got back around to debugging this and I think I found a fix. |
@rvatsastro thanks for reporting. did you have to do anything to resolve the issue ? We are on MWAA 2.2.2 and still seeing the same issue |
Hey guys is anyone facing issues regarding this, I notices in my code that if i have a TriggerDagRunOperator inside task_group like this, it shows the dag dependency on viewer
but if I use without a task_group ( for this example doesn't make sense to use a group for a unique task)
Does this make a sense? |
Apache Airflow version: 2.1.
Environment: Ubuntu 20.04
uname -a
): Linux 20.04.1-Ubuntu SMP Tue Jun 1 09:54:15 UTC 2021 x86_64 x86_64 x86_64 GNU/LinuxWhat happened: After performing the upgrade from 2.0.2 to 2.10 using the guide available in the documentation, Airflow upgraded successfully, Dag dependency page isn't working as expected.
The DAG dependency page doesn't show the dependency graph.
What you expected to happen: I expected the dag dependency page to show the dags and their dependency in a Graph view
How to reproduce it: Its reproduced by opening these pages every time.
How often does this problem occur? Once? Every time etc?
Every time
Any relevant logs to include? Put them here in side a detail tag:
Upgrade Check Log
/home/ubuntu/env_airflow/lib/python3.8/site-packages/airflow/configuration.py:34
6 DeprecationWarning: The hide_sensitive_variable_fields option in [admin] has been moved to the hide_sensitive_var_conn_fields option in [core] - the old setting has been used, but please update your config.
/home/ubuntu/env_airflow/lib/python3.8/site-packages/airflow/configuration.py:34
6 DeprecationWarning: The default_queue option in [celery] has been moved to the default_queue option in [operators] - the old setting has been used, but please update your config.
/home/ubuntu/env_airflow/lib/python3.8/site-packages/airflow/plugins_manager.py:
239 DeprecationWarning: This decorator is deprecated.In previous versions, all subclasses of BaseOperator must use apply_default decorator for the
default_args
feature to work properly.In current version, it is optional. The decorator is applied automatically using the metaclass.
/home/ubuntu/env_airflow/lib/python3.8/site-packages/airflow/configuration.py:34
6 DeprecationWarning: The default_queue option in [celery] has been moved to the default_queue option in [operators] - the old setting has been used, but please update your config.
The text was updated successfully, but these errors were encountered: