-
Notifications
You must be signed in to change notification settings - Fork 89
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
Kedro-Airflow not working with Astrocloud #13
Comments
From @jacobweiss2305: Kedro-Airflow plugin version used (get it by running pip show kedro-airflow): 0.4.1 |
From @limdauto: Hi @jacobweiss2305 please try python 3.8. Support for 3.9 hasn't been out yet. |
From @jacobweiss2305: Hi @limdauto Support for Kedro and Python 3.9 is available using pip install kedro --ignore-requires-python (kedro-org/kedro#710) |
From @jweiss-ocurate: Hi @limdauto Here are the exact steps I am taking: Kedro + Airflow + AstronomerCloudEnvironment
Steps
Error
|
From @sunkickr: @jweiss-ocurate this may be a memory issue based on the task logs showing Negsignal.SIGKILL. Could you try increasing the amount of local memory allocated to docker? |
From @idanov: @jweiss-ocurate I can confirm we could reproduce that. We'll try to debug what's causing it and update you with any findings we have here. |
From @jweiss-ocurate: Astronomer worked on this with me. The current docker image for Astronomer Cloud requires python 3.9. So I had to install kedro using --ignore-requires-python. Astronomer was able to add a quick fix by reinstalling python 3.7 in the dockerfile. |
From @noklam: @jweiss-ocurate Does it works after downgrading the Python version? |
From @jweiss-ocurate: Yes it does. |
I try to get it running with
I wonder if there is anything special with I also notice it is using
|
@jweiss-ocurate Could you share the latest Dockerfile that runs successfully? |
After some investigation, this is the exact line causing the issue with Testing with the latest image + Python 3.9 + Kedro==0.18.0. This is a workaround that would make it works. Update thie line in "disable_existing_loggers": True
Minimal example to reproduce the errorA minimal example of
|
The Airflow Astronomer and AstroCloud deployment documentation was updated in #3792. Due to issues with the Rich library logging in Airflow deployments, one of the updated steps advises setting Kedro logging to [console] only. Deployments are now successfully working with Astro and other cloud providers. |
Raised by @jweiss-ocurate:
Description
I am trying to run a simple spaceflights example with Astrocloud. I wasn't sure if anyone has been able to get it to work.
Here is the DockerFile:
FROM quay.io/astronomer/astro-runtime:4.1.0
RUN pip install --user new_kedro_project-0.1-py3-none-any.whl --ignore-requires-python
Context
I am trying to use kedro-airflow with astrocloud.
Steps to Reproduce
Expected Result
Complete Kedro Run on local Airflow image.
Actual Result
Failure in local Airflow image.
[2022-02-26, 16:43:26 UTC] {store.py:32} INFO -
read()
not implemented forBaseSessionStore
. Assuming empty store.[2022-02-26, 16:43:26 UTC] {session.py:78} WARNING - Unable to git describe /usr/local/airflow
[2022-02-26, 16:43:29 UTC] {local_task_job.py:154} INFO - Task exited with return code Negsignal.SIGKILL
Your Environment
Include as many relevant details about the environment you experienced the bug in:
pip show kedro-airflow
): 0.4.1airflow --version
):pip show kedro
orkedro -V
): 0.17.7python -V
): > 2.0.0The text was updated successfully, but these errors were encountered: