-
Notifications
You must be signed in to change notification settings - Fork 97
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
Logging seems to freeze or break airflow #603
Comments
The pressure is mounting to do tackle kedro-org/kedro#2928 |
Also I'm almost sure I've been affected by this and the only workaround I found was using a Dockerized version of Airflow instead of the |
@astrojuanlu Do you know why would a dockerized version help? Good to know this as a workaround though. |
This may solve problem 2, but not 1 (not sure if it still persists), from experience it also depends on the airflow version. I tried to look at both |
@noklam Not sure how much of help this would be but I managed to fix both of the issues disabling kedro logging at all by commenting out following line.
|
@em-pe I think you are right I found that previously though the root cause is still unknown. |
Not sure if there are any updates on this issue. I can confirm that @em-pe 's changes worked (commenting out the line in kedro's Right now my workflow for deploying to Airflow (don't judge me) has a step to comment out that line of code in kedro's site_package folder. It's far from ideal, but seems to be the only way I can get kedro pipelines deployed and working. Have there been further discussions on making changes to get this working? |
Description
Short description of the problem here.
Kedro-Airflow not working with Astrocloud #13 (comment) It was first found that logging is breaking kedro-airflow sometimes, this causing the airflow nodes fail immediately during the execution of first node. The workaround is documented in the link.
A new symptoms seem to be
rich
is interacting with airflow.@DimedS :
When deploying a Kedro project to Airflow using Astronomer, as detailed in this manual, an issue was encountered where the first node would fail after a few minutes, culminating in a
{task_context_logger.py:104} ERROR - Detected zombie job
error message.The problem was resolved by modifying the
logging.yml
file to utilize custom logging settings.from
to
Context
How has this bug affected you? What were you trying to accomplish?
Steps to Reproduce
Expected Result
Tell us what should happen.
Actual Result
Tell us what happens instead.
Your Environment
Include as many relevant details about the environment in which you experienced the bug:
pip show kedro
orkedro -V
):pip show kedro-airflow
):python -V
):The text was updated successfully, but these errors were encountered: