Book Image

Learning Big Data with Amazon Elastic MapReduce

By : Amarkant Singh, Vijay Rayapati
Book Image

Learning Big Data with Amazon Elastic MapReduce

By: Amarkant Singh, Vijay Rayapati

Overview of this book

<p>Amazon Elastic MapReduce is a web service used to process and store vast amount of data, and it is one of the largest Hadoop operators in the world. With the increase in the amount of data generated and collected by many businesses and the arrival of cost-effective cloud-based solutions for distributed computing, the feasibility to crunch large amounts of data to get deep insights within a short span of time has increased greatly.</p> <p>This book will get you started with AWS so that you can quickly create your own account and explore the services provided, many of which you might be delighted to use. This book covers the architectural details of the MapReduce framework, Apache Hadoop, various job models on EMR, how to manage clusters on EMR, and the command-line tools available with EMR. Each chapter builds on the knowledge of the previous one, leading to the final chapter where you will learn about solving a real-world use case using Apache Hadoop and EMR. This book will, therefore, get you up and running with major Big Data technologies quickly and efficiently.</p>
Table of Contents (18 chapters)
Learning Big Data with Amazon Elastic MapReduce
Credits
About the Authors
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

EMR bootstrap actions


Suppose you want some specific software installed on the machines executing your Hadoop jobs, or if you want to tweak some of the default Hadoop configurations, EMR bootstrap actions will help you perform these tasks.

Amazon EMR provides a mechanism to customize the installation and configuration of Hadoop clusters using bootstrap actions. A bootstrap action is a script that will be run on the cluster before Hadoop starts and a node is ready for data processing.

EMR provides certain default bootstrap actions like Hadoop configuration customization, so you can tweak or tune the default Hadoop parameters of their cluster. However, you can create custom bootstrap actions based on your requirements.

We need to store the bootstrap actions in the S3 bucket and one cluster can have up to 16 bootstrap actions. They will be executed in the order of their assignment while launching the cluster.

Note

If a bootstrap action script returns a nonzero error code, then EMR considers it to...