In order to troubleshoot an HBase cluster, besides a solid knowledge of the cluster you are operating, the tools you use are also important. We would like to recommend the following troubleshooting tools:
ps:
This can be used to find the top process that used the most memory and CPUClusterSSH tool: This tool is used to control multiple SSH sessions simultaneously
jps:
This tool shows the Java processes for the current userjstat:
This is the Java Virtual Machine statistics monitoring toolhbase hbck:
This tool is used for checking and repairing region consistency and table integrityhadoop fsck:
This tool is used for checking HDFS consistency
We will describe sample usage of these tools, in this recipe.