When the nodes in the cluster keep growing, you might want to find tools to show and manage the HBase-related processes running in the cluster. As the hadoop
user is configured to be able to SSH from the master node to each slave node in the cluster without a password, it is easy for us to write a simple script to achieve this task with SSH login for every node and show/manage the running HBase processes on that node.
As Hadoop/HBase processes run in a Java Virtual Machine (JVM) , our task is to manage these Java processes in the cluster.
In this recipe, we will create a simple script to show all the running Java processes owned by the hadoop
user in an HBase cluster.
Start your HBase cluster. Log in to the master node as the user who started the cluster.
We assume that you are running HDFS and HBase as the same user (the hadoop
user here).