loading table of contents...

5. (Optional) Enabling HBase Region and Table Metrics

Ambari disables HBase metrics (per region and per table) by default. HBase metrics can be numerous and can cause performance issues. HBase RegionServer metrics are available by default.

If you want HBase (per region and per table) metrics to be collected by Ambari, you can do the following. It is highly recommended that you test turning on this option and confirm that your AMS performance is acceptable.

  1. On the Ambari Server, browse to:

    /var/lib/ambari-server/resources/common-services/HBASE/0.96.0.2.0/package/templates

  2. Edit the following template files:

    hadoop-metrics2-hbase.properties-GANGLIA-MASTER.j2

    hadoop-metrics2-hbase.properties-GANGLIA-RS.j2

  3. Comment out (or remove) the following lines:

    *.source.filter.class=org.apache.hadoop.metrics2.filter.GlobFilter

    hbase.*.source.filter.exclude=*Regions*

  4. Save the template files and restart Ambari Server for the changes to take effect.

[Important]Important

If you upgrade Ambari to a newer version, you will need to re-apply this change to the template file.