[
https://issues.apache.org/jira/browse/HADOOP-10660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14018904#comment-14018904
]
Babak Behzad commented on HADOOP-10660:
---------------------------------------
A couple of colleagues and I contributed the GraphiteSink metric and it got
into the trunk a couple of days ago. Thanks for the bug report. I see the
problem, but was wondering why none of the other sinks (FileSink and
GangliaSink) implement Closeable as well? I also would like to bring [~vicaya]
and [~raviprak] attention to this issue.
> GraphiteSink should implement Closeable
> ---------------------------------------
>
> Key: HADOOP-10660
> URL: https://issues.apache.org/jira/browse/HADOOP-10660
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Ted Yu
> Assignee: Chen He
> Attachments: HADOOP-10660.patch
>
>
> GraphiteSink wraps OutputStreamWriter around socket's output stream.
> Currently the socket is never closed.
> GraphiteSink should implement Closeable such that MetricsSystem can close the
> socket when it is stopped.
--
This message was sent by Atlassian JIRA
(v6.2#6252)