Configuring Metrics for a Service
Procedure
-
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
- For MapR-specific services, edit
-
In the sections specific to the service:
- Un-comment the lines pertaining to the context to which you wish the service to send metrics.
- Comment out the lines pertaining to other contexts.
- Restart the service.