Configuring Metrics for a Service

  1. Edit the appropriate hadoop-metrics.properties file on all CLDB nodes, depending on the service:
    • For MapR-specific services, edit /opt/mapr/conf/hadoop-metrics.properties
    • For standard Hadoop services, edit /opt/mapr/hadoop/hadoop-<version>/conf/hadoop-metrics.properties
  2. In the sections specific to the service:
    1. Un-comment the lines pertaining to the context to which you wish the service to send metrics.
    2. Comment out the lines pertaining to other contexts.
  3. Restart the service.