Cloud Zone is brought to you in partnership with:

Mitch Pronschinske is a Senior Content Analyst at DZone. That means he writes and searches for the finest developer content in the land so that you don't have to. He often eats peanut butter and bananas, likes to make his own ringtones, enjoys card and board games, and is married to an underwear model. Mitch is a DZone Zone Leader and has posted 2574 posts at DZone. You can read more from them at their website. View Full User Profile

Amazon Releases EMR Sample Apps and Bootstrap Actions

10.07.2013
| 4659 views |
  • submit to reddit

Some helpful code from the Amazon Elastic MapReduce developers is up on GitHub now for you to download.  This includes several sample apps and some bootstrap actions for popular applications.

The sample apps will teach you how to build apps with Pig, Hive, Node.js, Powershell, and more.  The bootstrap actions are shell scripts stored in Amazon S3 that Amazon EMR executes on each node in your cluster.  More from the GitHub page:

Bootstrap actions execute as the Hadoop user by default; they execute with root privileges if you use sudo. From the EMR Command Line Interface you can reference a Bootstrap Action as follows:

--bootstrap-action "s3://myawsbucket/FileName" --args "arg1,arg2"

For more information about EMR Bootstrap actions, see http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-bootstrap.html