(Platform Spotlight) Configure Ozone Storage Container Manager Monitoring (Parcel)
To configure Ozone Storage Container Manager (SCM) monitoring, add the required properties to the Pepperdata site configuration for enabling the collection of Ozone SCM metrics.
HTTP/HTTPS policy and authentication for Ozone SCM use the same Pepperdata-wide settings as YARN; there are no Ozone-specific overrides.
Procedure: Turn On Ozone SCM Monitoring and Configure Ports and Polling
Procedure
-
Use Cloudera Manager to add the following snippet to the Pepperdata > Service Wide > Pepperdata Service Advanced Configuration Snippet (Safety Valve) for conf/pepperdata-site.xml template, as an XML block.
<!-- For Ozone SCM Metrics Collection --> <property> <name>pepperdata.agent.genericJsonFetch.ozone.scm.enabled</name> <value>true</value> </property> -
(Optional) To use ports and settings other than the defaults, configure any/all of the override properties.
The table shows the default values.
Setting Default Value SCM HTTP port localhost:9876 SCM HTTPS port localhost:9877 SCM JMX port 9877 SCM metrics polling interval 60000 milliseconds (1 minute) -
To change the SCM HTTP port, add the following snippet, for the
pepperdata.ozone.scm.http.portproperty, to the same template (Pepperdata > Service Wide > Pepperdata Service Advanced Configuration Snippet (Safety Valve) for conf/pepperdata-site.xml).<!-- For an Ozone SCM HTTP port other than the default (9876) --> <property> <name>pepperdata.ozone.scm.http.port</name> <value>your-host:your-http-port</value> </property> -
To change the SCM HTTPS port, add the following snippet, for the
pepperdata.ozone.scm.https.portproperty, to the same template (Pepperdata > Service Wide > Pepperdata Service Advanced Configuration Snippet (Safety Valve) for conf/pepperdata-site.xml).<!-- For an Ozone SCM HTTPS port other than the default (9877) --> <property> <name>pepperdata.ozone.scm.https.port</name> <value>your-host:your-https-port</value> </property> -
To change the SCM JMX port (used for metrics fetch), add the following snippet, for the
pepperdata.agent.ozone.jmx.scm.portproperty, to the same template (Pepperdata > Service Wide > Pepperdata Service Advanced Configuration Snippet (Safety Valve) for conf/pepperdata-site.xml).<!-- For an Ozone SCM JMX port other than the default (9877) --> <property> <name>pepperdata.agent.ozone.jmx.scm.port</name> <value>your-jmx-portnum</value> </property> -
To change the SCM metrics polling interval, add the following snippet, for the
pepperdata.agent.ozone.web.scm.monitor.intervalproperty, to the same template (Pepperdata > Service Wide > Pepperdata Service Advanced Configuration Snippet (Safety Valve) for conf/pepperdata-site.xml).<!-- For an Ozone SCM polling interval other than the default (60000 milliseconds) --> <property> <name>pepperdata.agent.ozone.web.scm.monitor.interval</name> <value>your-polling-interval-in-milliseconds</value> </property>
-
-
Navigate back to the cluster view, and restart the Pepperdata service so the new configuration is picked up.