Fuqing Yang created SPARK-6105: ---------------------------------- Summary: enhance spark-ganglia to support redundant gmond addresses setting in ganglia unicast mode Key: SPARK-6105 URL: https://issues.apache.org/jira/browse/SPARK-6105 Project: Spark Issue Type: Improvement Affects Versions: 1.3.0 Reporter: Fuqing Yang Priority: Minor
1 why do it? when using spark-ganglia with ganglia unicast mode, I found it has single point of failure in gmond setting. we can not set *.sink.ganglia.host to localhost but only to a designated gmond address because gmond do not forward the metrics from spark GangliaSink. This problem can found in ganglia maillist: [Ganglia-general] Gmond forward messages http://sourceforge.net/p/ganglia/mailman/message/30268666/ [Ganglia-general] gmond forwarding http://sourceforge.net/p/ganglia/mailman/message/28290307/ So, in ganglia unicast mode, we may missing the metrics if the designated gmond went wrong. 2 how to resolve this SPOF add new parameter *.sink.ganglia.servers in conf/metrics.properties. eg: *.sink.ganglia.servers=host1:port1, host2:port2 if enabled spark ganglia sink, use GangliaSink to parse *.sink.ganglia.servers to construct redundant GangliaReporters. for backend compatibility, preserve the old parameters *.sink.ganglia.host, *.sink.ganglia.port, If users do not use *.sink.ganglia.servers, give a warning, and the old parameters work. 3 problems introduced. none -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org