Apache Ambari Operations
Also available as:
PDF
loading table of contents...

(Optional) Enabling Individual Region, Table, and User Metrics for HBase

Other than HBase RegionServer metrics, Ambari disables per region, per table, and per user metrics by default, because these metrics can be numerous and therefore cause performance issues.

If you want Ambari to collect these metrics, you can re-enable them; however, you should first test this option and confirm that your AMS performance is acceptable.

  1. On the Ambari Server, browse to the following location:

    /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. 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.

[Important]Important

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