From 1f96c97f2374a95140a0c72b1f4eae50ac21d84a Mon Sep 17 00:00:00 2001 From: Ekasit Kijsipongse Date: Fri, 5 Aug 2016 13:07:52 -0700 Subject: [SPARK-13238][CORE] Add ganglia dmax parameter The current ganglia reporter doesn't set metric expiration time (dmax). The metrics of all finished applications are indefinitely left displayed in ganglia web. The dmax parameter allows user to set the lifetime of the metrics. The default value is 0 for compatibility with previous versions. Author: Ekasit Kijsipongse Closes #11127 from ekasitk/ganglia-dmax. --- conf/metrics.properties.template | 1 + 1 file changed, 1 insertion(+) (limited to 'conf/metrics.properties.template') diff --git a/conf/metrics.properties.template b/conf/metrics.properties.template index 8a4f4e4833..aeb76c9b2f 100644 --- a/conf/metrics.properties.template +++ b/conf/metrics.properties.template @@ -93,6 +93,7 @@ # period 10 Poll period # unit seconds Unit of the poll period # ttl 1 TTL of messages sent by Ganglia +# dmax 0 Lifetime in seconds of metrics (0 never expired) # mode multicast Ganglia network mode ('unicast' or 'multicast') # org.apache.spark.metrics.sink.JmxSink -- cgit v1.2.3