Troubleshooting tools
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 userjmap:
This tool prints the Java heap summaryjstat:
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.
Getting ready
Start your HBase cluster.
How to do it...
The following are the troubleshooting tools we will describe:
ps:
This tool is used to find the top processes that occupied large amounts of memory. The following...