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

Using network topology script to make Hadoop rack-aware

Hadoop has the concept of "Rack Awareness". Administrators are able to define the rack of each DataNode in the cluster. Making Hadoop rack-aware is extremely important because:

  • Rack awareness prevents data loss
  • Rack awareness improves network performance

In this recipe, we will describe how to make Hadoop rack-aware and why it is important.

Getting ready

You will need to know the rack to which each of your slave nodes belongs. Log in to the master node as the user who started Hadoop.

How to do it...

The following steps describe how to make Hadoop rack-aware:

  1. Create a topology.sh script and store it under the Hadoop configuration directory. Change the path for topology.data, in line 3, to fit your ...
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