Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
HBase High Performance Cookbook

You're reading from   HBase High Performance Cookbook Solutions for optimization, scaling and performance tuning

Arrow left icon
Product type Paperback
Published in Jan 2017
Publisher Packt
ISBN-13 9781783983063
Length 350 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Ruchir Choudhry Ruchir Choudhry
Author Profile Icon Ruchir Choudhry
Ruchir Choudhry
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Configuring HBase FREE CHAPTER 2. Loading Data from Various DBs 3. Working with Large Distributed Systems Part I 4. Working with Large Distributed Systems Part II 5. Working with Scalable Structure of tables 6. HBase Clients 7. Large-Scale MapReduce 8. HBase Performance Tuning 9. Performing Advanced Tasks on HBase 10. Optimizing Hbase for Cloud 11. Case Study Index

Write Path


HBase is designed to optimize writes. This is achieved by splitting the load across all the Region Servers. The design is optimized to handle Region Server failure and data loss. HBase data is orchestrated very similarly to store map, such as sorted key space partitions located in different shards/regions.

HBase tables are managed by a series of servers, as follows:

  • One active master server

  • Multiple backup master servers (you can use one backup too)

  • Many Region Servers

When a Region Server receives a write request, it relays the call to the specific region. Each region stores sets of rows. Row data can be separated into multiple column families (we will discuss this in the chapter about schema design). The data of a particular column family is stored in HStore, which has Memstore and a set of HFiles. Memostore is kept in the Region Server main memory, during which the HFiles are written to HDFS.

Note

Note that you can plan to flush the changes in the form of batches by switching off...

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 $19.99/month. Cancel anytime
Banner background image