Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
HBase Administration Cookbook

You're reading from  HBase Administration Cookbook

Product type Book
Published in Aug 2012
Publisher Packt
ISBN-13 9781849517140
Pages 332 pages
Edition 1st Edition
Languages
Author (1):
Yifeng Jiang Yifeng Jiang
Profile icon Yifeng Jiang

Table of Contents (16) Chapters

HBase Administration Cookbook
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Setting Up HBase Cluster Data Migration Using Administration Tools Backing Up and Restoring HBase Data Monitoring and Diagnosis Maintenance and Security Troubleshooting Basic Performance Tuning Advanced Configurations and Tuning

Simple script for making deployment easier


There are many ways to deploy your HBase to the cluster. As Hadoop and HBase are written in Java, most of the deployment is done by simply copying all the files to the nodes in the cluster.

The simplest way is to use a script-based approach to sync HBase installation and configurations across the cluster. It may not be as cool compared to other modern deployment management tools, but it works well for small or even medium-sized clusters.

In this recipe, we will create a simple script to sync an HBase installation from its master node to all region servers in the cluster. This approach can be used to deploy Hadoop as well.

Getting ready

Log in to the master node as the user who starts the cluster. We assume that you have set up a non-password SSH from the master node to the region servers, for the user.

How to do it...

The instructions to create a simple script to make HBase deployment easier are as follows:

  1. 1. Create a cluster-deploy.sh script, shown...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}