Import error : need to restart dag processor #39976
Replies: 2 comments 2 replies
-
There is no minimal reproducible example which might help someone to understand what is the issue here. Please provide also deployment information, configurations, and everything which might help someone to understand what is going wrong here |
Beta Was this translation helpful? Give feedback.
-
extraEnv: |
|
Beta Was this translation helpful? Give feedback.
-
Apache Airflow version
2.9.1
If "Other Airflow 2 version" selected, which one?
No response
What happened?
When someone deploy a new python function, airflow is not happy with it :
I'm using a standalone Dag Processor, and I need to restart it to fix the issue. Same with a non standalone dag processor, I need to restart the scheduler as well.
In fact, I'm mostly looking for "ways" to debug this, I don't understand why I need to restart the dag processor in order to fix things... My code is correctly synced between different containers...
What you think should happen instead?
No broken dags.
How to reproduce
Just push a new function.
Operating System
Debian 11 with Docker
Versions of Apache Airflow Providers
apache-airflow==2.9.1
apache-airflow-providers-amazon==8.20.0
apache-airflow-providers-apache-cassandra==3.4.2
apache-airflow-providers-apache-hdfs==4.3.3
apache-airflow-providers-apache-spark==4.7.2
apache-airflow-providers-celery==3.6.2
apache-airflow-providers-cncf-kubernetes==7.14.0
apache-airflow-providers-common-io==1.3.1
apache-airflow-providers-common-sql==1.12.0
apache-airflow-providers-docker==3.10.0
apache-airflow-providers-elasticsearch==5.3.4
apache-airflow-providers-fab==1.0.4
apache-airflow-providers-ftp==3.8.0
apache-airflow-providers-google==10.17.0
apache-airflow-providers-grpc==3.4.1
apache-airflow-providers-hashicorp==3.6.4
apache-airflow-providers-http==4.10.1
apache-airflow-providers-imap==3.5.0
apache-airflow-providers-microsoft-azure==10.0.0
apache-airflow-providers-microsoft-mssql==3.6.1
apache-airflow-providers-mysql==5.5.4
apache-airflow-providers-odbc==4.5.0
apache-airflow-providers-openlineage==1.7.0
apache-airflow-providers-oracle==3.9.2
apache-airflow-providers-postgres==5.10.2
apache-airflow-providers-redis==3.6.1
apache-airflow-providers-sendgrid==3.4.0
apache-airflow-providers-sftp==4.9.1
apache-airflow-providers-slack==8.6.2
apache-airflow-providers-smtp==1.6.1
apache-airflow-providers-snowflake==5.4.0
apache-airflow-providers-sqlite==3.7.1
apache-airflow-providers-ssh==3.10.1
Deployment
Docker-Compose
Deployment details
I'm using gitsync for airflow dags, and another git-sync for plugins.
Anything else?
.
Are you willing to submit PR?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions