aws-samples / amazon-mwaa-automating-dag-deployment Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
While running the code there is one problem I come across is that the containers are not linked properly as the logs say the containers are not running.
I tried checking on things step by step but coundn't get a hold of what exactly is going wrong.
I has to put some print statement under local-runner.py file to see what and how long it is running.
Below is the snippet of the logs with print statement output
Logged In
132 | <Image: 'account-number.dkr.ecr.us-east-1.amazonaws.com/mwaa-db:10-alpine'>
133 | <Image: 'account-number.dkr.ecr.us-east-1.amazonaws.com/mwaa-local:2.0.2'>
134 | Images Pulled
135 | POSTGRES DONE
136 | pensive_bohr
137 | Checking
138 | 500 Server Error: Internal Server Error ("Cannot link to a non running container: /pensive_bohr AS /dazzling_mclaren/pensive_bohr")
Let me know what has been updated or changed due to which is it failing.
Received the below error after updating the requirements.txt and deployed the dag to dags folder. May I know how to fix this?
Broken DAG: [/usr/local/airflow/dags/hello-mwaa.py] Traceback (most recent call last):
File "", line 219, in _call_with_frames_removed
File "/usr/local/airflow/dags/hello-mwaa.py", line 8, in
from operators.hello_mwaa_operator import HelloOperator
ModuleNotFoundError: No module named 'operators'
receiving the following error when trying to clone the repo
[Container] 2022/06/25 01:06:23 Running command git clone ${CODE_REPO} sourcecode
--
134 | Cloning into 'sourcecode'...
135 | fatal: could not read Username for 'https://github.com': No such device or address
136 |
137 | [Container] 2022/06/25 01:06:25 Command did not exit successfully git clone ${CODE_REPO} sourcecode exit status 128
138 | [Container] 2022/06/25 01:06:25 Phase complete: PRE_BUILD State: FAILED
139 | [Container] 2022/06/25 01:06:25 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: git clone ${CODE_REPO} sourcecode. Reason: exit status 128
any ideas on what could be causing this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.