emr-bootstrap-actions | repository hold the Amazon Elastic MapReduce sample | AWS library
kandi X-RAY | emr-bootstrap-actions Summary
kandi X-RAY | emr-bootstrap-actions Summary
A bootstrap action is a shell script stored in [Amazon S3] that [Amazon EMR] executes on every node of your cluster. Bootstrap actions execute as the hadoop user by default; they execute with root privileges if you use sudo.From the [Ruby EMR Command Line Interface] you can reference a bootstrap action as follows:. For more information about EMR Bootstrap actions see [DeveloperGuide] The code samples in this repository are meant to illustrate how to setup popular applications on Amazon EMR using bootstrap actions. They are not meant to be run in production and all users should carefully inspect code samples before running them.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Prepare the classpath .
- Configure spark defaults .
- Download and unpack and unpack files
- Start Spark history server
emr-bootstrap-actions Key Features
emr-bootstrap-actions Examples and Code Snippets
Community Discussions
Trending Discussions on emr-bootstrap-actions
QUESTION
In Amazon EMR, I am using the following script as a custom bootstrap action to install python packages. The script runs OK (checked the logs, packages installed successfully) but when I open a notebook in Jupyter Lab, I cannot import any of them. If I open a terminal in JupyterLab and run pip list
or pip3 list
, none of my packages is there. Even if I go to /
and run find . -name mleap
for instance, it does not exist.
Something I have noticed is that on the master node, I am getting all the time an error saying bootstrap action 2 has failed (there is no second action, only one). According to this, it is a rare error which I get in all my clusters. However, my cluster eventually gets created and I can use it.
My script is called aws-emr-bootstrap-actions.sh
ANSWER
Answered 2020-Dec-07 at 12:49The PYSPARK
, Python interpreter that Spark is using, is different than the one to which the OP was installing the modules (as confirmed in comments).
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install emr-bootstrap-actions
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page