Enable Generic Data Collection
You must enable the Generic History Service (GHS) for collecting historical data of YARN applications.
yarn.resourcemanager.system-metrics-publisher.enabled – This
property indicates to the ResourceManager, as well as to clients, whether or not the
Generic History Service (GHS) is enabled. If the GHS is enabled, the ResourceManager
begins recording historical data that the GHS can consume, and clients can redirect to the
GHS when applications finish running.
Example:
<property>
<description>Enable or disable the GHS</description>
<name>yarn.resourcemanager.system-metrics-publisher.enabled</name>
<value>true</value>
</property>