Using Ambari Core Services
Also available as:
PDF
loading table of contents...

Enable specific HBase metrics

HBase metrics other than HBase RegionServer metrics are disabled by default.

Other than HBase RegionServer metrics, Ambari disables per-region, per-table, and per-user metrics by default. These metrics can be numerous and therefore cause performance issues. If you want Ambari to collect these metrics, you can enable them. You should test this option and confirm that your AMS performance is acceptable before enabling additional HBase metrics in a production environment.
  1. On the Ambari Server, browse to the following location:
    /var/lib/ambari-server/resources/stacks/HDP/#version/services/HBASE/package/templates/
  2. Edit the following template files:
    hadoop-metrics2-hbase.properties-GANGLIA-MASTER.j2
    hadoop-metrics2-hbase.properties-GANGLIA-RS.j2
  3. Either comment out or remove the following lines:
    *.source.filter.class=org.apache.hadoop.metrics2.filter.RegexFilter
    hbase.*.source.filter.exclude=.*(Regions|Users|Tables).*
  4. Save the template files and restart Ambari Server for the changes to take effect.
If you upgrade Ambari to a newer version, you must re-apply this change to the template file.