Comments (4)
Deploying the examples requires installing the Lambda Layer packages. The README for the examples doesn't mention this. To install the Lambda Layer packages, activate the virtual environment, then from the top-level aws-emr-launch directory:
pip install -r requirements-lambda-layer.txt \
--target=aws_emr_launch/lambda_sources/layers/emr_config_utils/python/lib/python3.7/site-packages/
from aws-emr-launch.
Solved. Thank you. But it raises another one:
EmrLaunchFunctionStack
Resource must be in ARN format or "*". (Service: AmazonIdentityManagement; Status Code: 400; Error Code: MalformedPolicyDocument; Request ID:)
from aws-emr-launch.
I suspect this is because one of the environment variables for the SecretsManager Secrets wasn't an ARN. I was able to reproduce the error using only a Secret name.
I recommend pulling the latest version. We have updated the examples to include an environment_stack to prepare the environment and eliminate the need to set the environment variables.
from aws-emr-launch.
Hi, I was trying to run the examples and I had the same problem.
I solved it with three points:
- I corrected some problems with my virtualenv, there was a python alias in my .bashrc that was point to a other path
- I remove the aws-emr-launch package from pypi, version 1.3.1, and I installed from source.
- And I installed the lambda layers packages, Thanks chamcca!
from aws-emr-launch.
Related Issues (8)
- [FEATURE] - Update to CDK v2.x
- [BUG] - PythonLayerVersion gives error jsii.errors.JSIIError: spawnSync docker ENOENT HOT 2
- [FEATURE] - Docker runtime requirement preventing automated deployment via CodeBuild/CodePipeline HOT 2
- Issue in response for describe-instance-types in java-sdk-ec2-1.11.820 HOT 1
- [BUG] - RunJobFlowServiceRole missing permissions to create AWSServiceRoleForEMRCleanup role HOT 3
- [QUERY] - EMR stuck at bootstrapping HOT 2
- Add support for Managed Scaling HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-emr-launch.