Database Reference
In-Depth Information
Monitoring HBase
Running any distributed system involves decent monitoring. HBase is no exception.
Luckily, HBase has the following capabilities:
• HBase exposes a lot of metrics
• These metrics can be directly consumed by monitoring systems such as
Ganglia
• We can also obtain these metrics in the JSON format via the REST interface
and JMX
Monitoring is a big subject and we consider it as part HBase administration. So, in this
section, we will give pointers to tools and utilities that allow you to monitor HBase.
Ganglia
Ganglia is a generic system monitor that can monitor hosts (such as CPU, disk usage,
and so on). The Hadoop stack has had a pretty good integration with Ganglia for
some time now. HBase and Ganglia integration is set up by modern installers from
Cloudera and Hortonworks.
To enable Ganglia metrics, update the hadoop-metrics.properties file in the
HBase configuration directory. Here's a sample file:
hbase.class=org.apache.hadoop.metrics.ganglia.GangliaContext31
hbase.period=10
hbase.servers=ganglia-server:PORT
jvm.class=org.apache.hadoop.metrics.ganglia.GangliaContext31
jvm.period=10
jvm.servers=ganglia-server:PORT
rpc.class=org.apache.hadoop.metrics.ganglia.GangliaContext31
rpc.period=10
rpc.servers=ganglia-server:PORT
This file has to be uploaded to all the HBase servers (master servers as well
as region servers).
 
Search WWH ::




Custom Search