O'Reilly logo

HBase Administration Cookbook by Yifeng Jiang

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Simple scripts to report the status of the cluster

Besides the health of the HBase-related daemons and their logs, what you might want to monitor is the overview of the current status of the cluster. This status basically includes:

  • The HBase hbck result showing whether the HBase tables are consistent
  • The Hadoop fsck result showing whether HDFS is healthy
  • The remaining HDFS space

In this recipe, we will create a check_hbase Nagios plugin to perform the task of monitoring. We will install our check_hbase plugin on the master node of the cluster, and remotely execute it with Nagios from the monitor server using the NRPE Nagios plugin.

Getting ready

We assume that you have installed and configured the Nagios NRPE plugin on your monitor and master server. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required