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

HBase data model part 1


It is very important to understand the data model of HBase and the core principle on which it stands and provides the foundation to scale. We will go through the following concepts:

  • Logical view

  • Physical view

  • Tables

  • Namespace

  • Rows

  • Columns

  • Column families

  • Column qualifier

  • Cells

Logical view of HBase represents distributed, persistent multinational store map, which represents the data in a column and row, key along a timestamp. It also shows a representation of how data is kept to get maximum scalability and performance.

The following screenshot shows data that is represented in an HBase table:

The logical representation of the preceding table is as follows:

rowkey

Column family

Column qualifier

timestamp

value

row01

cfWeb

web

1409453734860

www.google.com

row02

cfWeb

web

1409453755971

www.yahoo.com

row03

cfWeb

web

1409453771036

www.bing.com

row05

cfWeb

web

1409454028718

www.fries.com

row06

cfWeb

web

1409454088675...