Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 1.17 KB

README.md

File metadata and controls

21 lines (13 loc) · 1.17 KB

EMR bootstrap actions

Warning: This repository is undergoing updating and modernization – please bear with us.

A bootstrap action is a shell script stored in Amazon S3 that Amazon EMR executes on every node of your cluster after boot and prior to application provisioning. Bootstrap actions execute as the hadoop user by default; commands can be executed with root privileges if you use sudo.

From the AWS CLI EMR create-cluster command you can reference a bootstrap action as follows:

--bootstrap-actions Name=action-name,Path=s3://myawsbucket/FileName,Args=arg1,arg2

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.

Use at your own risk.