4. (Optional) Enabling HBase Region and Table Metrics

By default, Ambari Metrics does not collect metrics related to HBase regions, tables and RegionServers. These metrics can be numerous and can cause performance issues.

If you want these metrics to be collected by Ambari, you can do the following. It is highly recommended that you test turning on this option and confirm 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.


loading table of contents...