Book Image

Learning HBase

By : Shashwat Shriparv
Book Image

Learning HBase

By: Shashwat Shriparv

Overview of this book

Table of Contents (18 chapters)
Learning HBase
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

HBase node management


In this section, we will discuss adding (commissioning) and removing (decommissioning) nodes from an HBase cluster.

Commissioning

Let's discuss the commissioning of nodes in an HBase cluster.

Prepare the machine, check the permissions twice, and check the connectivity, host entry, and host resolution. Once done and twice checked, copy the configuration file following the same path structure at the new machine, and start RegionServer using the following command:

hbase-daemon.sh start regionserver

Once this command is executed, RegionServer will automatically register with HMaster and start receiving local data. At the beginning, the newly added node will not have any data, and if balancer is not disabled, it will start moving new regions to the new RegionServer.

If the start and stop process is done using ssh and HBase script, add the newly added node host name to the conf/regionservers file.

So, commissioning is just like checking the new machine, copying the configuration...