Github user jerryshao commented on a diff in the pull request:
https://github.com/apache/spark/pull/19210#discussion_r139045423
--- Diff:
core/src/main/scala/org/apache/spark/metrics/sink/GraphiteSink.scala ---
@@ -69,7 +69,7 @@ private[spark] class GraphiteSink(val property:
Properties, val registry: Metric
val graphite =
propertyToOption(GRAPHITE_KEY_PROTOCOL).map(_.toLowerCase(Locale.ROOT)) match {
case Some("udp") => new GraphiteUDP(new InetSocketAddress(host, port))
- case Some("tcp") | None => new Graphite(new InetSocketAddress(host,
port))
+ case Some("tcp") | None => new Graphite(host, port)
--- End diff --
Yes, that's what I mean, I'm not sure if it is required since I'm not
familiar with this Graphite sink.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]