In this section, we will discuss adding (commissioning) and removing (decommissioning) nodes from an HBase cluster.
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...