Skip to Main Content
HBase Administration Cookbook
book

HBase Administration Cookbook

by Yifeng Jiang
August 2012
Intermediate to advanced content levelIntermediate to advanced
332 pages
7h 3m
English
Packt Publishing
Content preview from HBase Administration Cookbook

Java GC and HBase heap settings

As HBase runs within JVM, the JVM Garbage Collection (GC) settings are very important for HBase to run smoothly, with high performance. In addition to the general guideline for configuring HBase heap settings, it's also important to have the HBase processes output their GC logs and then tune the JVM settings based on the GC logs' output.

We will describe the most important HBase JVM heap settings as well as how to enable and understand GC logging, in this recipe. We will also cover some general guidelines to tune Java GC settings for HBase.

Getting ready

Log in to your HBase region server.

How to do it...

The following are the recommended Java GC and HBase heap settings:

  1. Give HBase enough heap size by editing the hbase-env.sh ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

HBase High Performance Cookbook

HBase High Performance Cookbook

Ruchir Choudhry
Hbase Essentials

Hbase Essentials

Nishant Garg
Learning Hbase

Learning Hbase

Shashwat Shriparv

Publisher Resources

ISBN: 9781849517140Other