Book Image

HBase High Performance Cookbook

By : Ruchir Choudhry
Book Image

HBase High Performance Cookbook

By: Ruchir Choudhry

Overview of this book

Apache HBase is a non-relational NoSQL database management system that runs on top of HDFS. It is an open source, disturbed, versioned, column-oriented store and is written in Java to provide random real-time access to big Data. We’ll start off by ensuring you have a solid understanding the basics of HBase, followed by giving you a thorough explanation of architecting a HBase cluster as per our project specifications. Next, we will explore the scalable structure of tables and we will be able to communicate with the HBase client. After this, we’ll show you the intricacies of MapReduce and the art of performance tuning with HBase. Following this, we’ll explain the concepts pertaining to scaling with HBase. Finally, you will get an understanding of how to integrate HBase with other tools such as ElasticSearch. By the end of this book, you will have learned enough to exploit HBase for boost system performance.
Table of Contents (19 chapters)
HBase High Performance Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
7
Large-Scale MapReduce
Index

Configuring


The prerequisites for this are as follows:

JDK/Java

Version 1.6 onwards

java –version should show

Java version "1.8.0_31"

Java(TM) SE Runtime Environment (build 1.8.0_31-b13)

Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)

Remarks

Check whether JAVA_HOME is set or not.

Using echo $JAVA_HOME

should point to the Java lib in your machine.

Apache Phoenix

Phoenix-3.1.0

phoenix-3.1.0-bin.tar.gz

 

Hbase

Hbase 0.94.22

hbase-0.94.22.tar.gz

 

Elastic search

Elasticsearch-1.3.2

elasticsearch-1.3.2.zip

 

How to do it…

  1. Check the version of JDK you are using by just typing java –version; it should show java version "1.7.0_X" or greater:

  2. The second step is to download Hbase. If you are using the existing version as described in the previous chapter, then you have to use the compatible version of all the distributed components, such as Phoenix, drivers and elastic search:

    mkdir hbaseElasticSearch
    cd hbaseElasticSearch
    wget http://archive.apache.org/dist/hbase/hbase...