Book Image

HBase Essentials

By : Nishant Garg
Book Image

HBase Essentials

By: Nishant Garg

Overview of this book

Table of Contents (14 chapters)

Troubleshooting


An HBase cluster does not run smoothly and expectedly sometimes, especially with bad configuration. This section covers the troubleshooting tools and techniques in brief for the HBase cluster running with ambiguous status. There are certain tools that are used while troubleshooting the HBase cluster. The following are some of the important tools that are preferred to be known to the administrators:

  • jps: This tool shows the Java processes running for the current user.

    $ $JAVA_HOME/bin/jps
    
  • jmap: This tool is used to view the Java heap summary. For example, the following command shows the summary for the HRegionServer daemon's heap:

    $ $JAVA_HOME/bin/jmap -heap 1812
    
  • ps: This tool is used to view the occupied memory by the processes. The following command uses the –rss flag to view sort processes in the descending order by their resident set size as:

    $ ps auxk -rss | less
    
  • jstat: This tool is used for monitoring the Java Virtual Machine. Run the following command to show the...