Simple script for managing HBase processes

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.

Getting ready

Start your HBase cluster. ...

Get HBase Administration Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.