Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning Hbase
  • Table Of Contents Toc
Learning Hbase

Learning Hbase

By : Shashwat Shriparv
4.1 (8)
close
close
Learning Hbase

Learning Hbase

4.1 (8)
By: Shashwat Shriparv

Overview of this book

If you are an administrator or developer who wants to enter the world of Big Data and BigTables and would like to learn about HBase, this is the book for you.
Table of Contents (12 chapters)
close
close
11
Index

HBase region management


In this section, we will discuss various operations, such as compaction, merging, and splitting, which we can perform on the HBase region.

Compaction

Compaction is done to reduce the number of StoreFiles. Once the number of StoreFiles is reduced, more efficiency and performance can be gained. It is a high-resource-hungry process. Running this will result in a single StoreFile per store. Major compactions also process delete markers and maximum versions.

We already discussed compaction, so we will see how to perform this:

hbase >major_compact

In Java, use HBaseAdmin.majorCompact, which we will look at in Chapter 7, Scripting in HBase, and Chapter 8, Coding HBase in Java.

Note

Read more on compaction in detail at http://hbase.apache.org/book/regions.arch.html#compaction.

Merge

We can use the merge command in adjoining regions in the same table to increase performance:

hbase org.apache.hadoop.hbase.util.Merge <tablename> <region name> <region name>
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learning Hbase
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon