Airflow scheduler hangs when loading pipeline
See original GitHub issueWrote my first dagster pipeline yesterday and wanted to run it on Airflow. However it was not showing up on Airflow as the scheduler process in charge of processing the DAG seemed to disappear.
After some manual debugging, found the cause was PDB instance on the dagster.utils
module that was being imported when trying to load the Airflow DAG.
Seems the code was added here but I haven’t been able to find any reference to the PDB so I’m wondering if that instance could be hidden behind a conditional flag to avoid Scheduler hangs on Airflow.
Great product btw!
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
scheduler gets stuck without a trace #7935 - apache/airflow
I'm running Airflow 1.10.4 as Celery in k8s. The scheduler pod is getting stuck while starting up at the step 'Resetting orphaned tasks'....
Read more >Troubleshooting Airflow scheduler issues | Cloud Composer
Low performance of the Airflow database might be the reason why the scheduler is slow.
Read more >Airflow scheduler is slow to schedule subsequent tasks
To get the time Airflow is spending loading Dags, run the command: ... a single task so you do not suffer from the...
Read more >7 Common Errors to Check When Debugging Airflow DAGs
1. Your DAG Isn't Running at the Expected Time · Airflow's Schedule Interval · Use Timetables for Simpler Scheduling · Airflow Time Zones....
Read more >Scheduler — Airflow Documentation - Apache Airflow
The Airflow scheduler monitors all tasks and DAGs, then triggers the task instances once their dependencies are complete. Behind the scenes, the scheduler...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Appreciate the fast fix. I actually commented it out on my machine and was able to run the DAG successfully. Thanks for the support 👍
@casassg just landed a fix in master so that
ForkedPdb
won’t be imported automatically.Our next release will be on Tuesday, so if you need the fix now I’d recommend simply deleting the import in
dagster/python_modules/dagster/dagster/utils/__init__.py
or doing an editable install of the master branch.