1.5. (Optional) Enabling Individual Region, Table, and User Metrics for HBase
Ambari disables some HBase metrics (per region, per table, and per user) by default. HBase metrics can be numerous and can cause performance issues. HBase RegionServer metrics are available by default.
If you want Ambari to collect per-region, per-table, and per-user metrics about HBase, you can do the following. It is highly recommended that you test turning on this option and confirm that your AMS performance is acceptable.
On the Ambari Server, browse to:
/var/lib/ambari-server/resources/common-services/HBASE/0.96.0.2.0/package/templates
Edit the following template files:
hadoop-metrics2-hbase.properties-GANGLIA-MASTER.j2
hadoop-metrics2-hbase.properties-GANGLIA-RS.j2
Comment out (or remove) the following lines:
*.source.filter.class=org.apache.hadoop.metrics2.filter.RegexFilter
hbase.*.source.filter.exclude=.*(Regions|Users|Tables).*
Save the template files and restart Ambari Server for the changes to take effect.
Important | |
---|---|
If you upgrade Ambari to a newer version, you will need to re-apply this change to the template file. |