[
https://issues.apache.org/jira/browse/HADOOP-12357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14715314#comment-14715314
]
Dave Marion commented on HADOOP-12357:
--------------------------------------
I had a misunderstanding. I was under the impression that Graphite and StatsD
used the same protocol. It turns out that the StatsD protocol is different
(<metricname>:<value>|<type>) and the StatsD daemon listens on UDP. Graphite
listens on TCP with a different plaintext protocol (<metric path> <metric
value> <metric timestamp>). I think that I can either close this ticket and
open a new one for a StatsD metrics2 sink, or just change the description of
this ticket and supply a new patch. Is there a preference?
> GraphiteSink won't connect to UDP sockets
> -----------------------------------------
>
> Key: HADOOP-12357
> URL: https://issues.apache.org/jira/browse/HADOOP-12357
> Project: Hadoop Common
> Issue Type: Bug
> Components: metrics
> Affects Versions: 2.5.0, 2.5.1, 2.5.2, 2.6.0, 2.7.0, 2.7.1
> Reporter: Dave Marion
> Assignee: Dave Marion
> Priority: Minor
> Attachments: HADOOP-12357.001.patch, HADOOP-12357.002.patch
>
>
> The statsd plugin within CollectD listens on a UDP socket. In trying to set
> this up, I keep getting a connection refused error, and I think the issue is
> that the current implementation of GraphiteSink only uses a TCP socket.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)