Book Image

Hadoop Operations and Cluster Management Cookbook

By : Shumin Guo
Book Image

Hadoop Operations and Cluster Management Cookbook

By: Shumin Guo

Overview of this book

<p>We are facing an avalanche of data. The unstructured data we gather can contain many insights that could hold the key to business success or failure. Harnessing the ability to analyze and process this data with Hadoop is one of the most highly sought after skills in today's job market. Hadoop, by combining the computing and storage powers of a large number of commodity machines, solves this problem in an elegant way!</p> <p>Hadoop Operations and Cluster Management Cookbook is a practical and hands-on guide for designing and managing a Hadoop cluster. It will help you understand how Hadoop works and guide you through cluster management tasks.</p> <p>This book explains real-world, big data problems and the features of Hadoop that enables it to handle such problems. It breaks down the mystery of a Hadoop cluster and will guide you through a number of clear, practical recipes that will help you to manage a Hadoop cluster.</p> <p>We will start by installing and configuring a Hadoop cluster, while explaining hardware selection and networking considerations. We will also cover the topic of securing a Hadoop cluster with Kerberos, configuring cluster high availability and monitoring a cluster. And if you want to know how to build a Hadoop cluster on the Amazon EC2 cloud, then this is a book for you.</p>
Table of Contents (15 chapters)
Hadoop Operations and Cluster Management Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Creating an Amazon Machine Image (AMI)


Amazon Machine Image (AMI) is the machine image used by EC2. An AMI is a template that contains configuration for operating systems and software packages. We can start EC2 instances from preexisting or personalized AMIs. AWS offers a large number of public AMIs that can be used for free.

Generally, there are two types of AMIs one is EBS-backed AMI (Elastic Block Storage-backed AMI) and the other is instance store-backed AMI. In this recipe, we will first outline steps to create an instance store-backed AMI and briefly introduce how to create an EBS-backed AMI.

Getting ready

Before getting started, we assume that you have successfully registered with AWS. And, we also assume that a client machine has been configured properly to connect to AWS.

Log in to the local machine and install the

MAKEDEV utility using the following command:

sudo yum install -y MAKEDEV

Install the Amazon AMI tools using the following command:

sudo rpm -ivh  http://s3.amazonaws.com...