Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Ambari disables HBase metrics (per region, per user 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, per user 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.

Step-by-step guide

  1. On the Ambari Server, browse to:
    /var/lib/ambari-server/resources/common-services/HBASE/$VERSION/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.RegexFilter
    hbase.*.source.filter.exclude=.*(Regions|Users|Tables).*
     
  4. Save the template files and restart Ambari Server for the changes to take effect.

...

Info

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

Content by Label
showLabelsfalse
max5
spacesAMBARI
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("ambari","grafana") and type = "page" and space = "AMBARI"
labelsambari grafana

...