You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Chen He (JIRA)" <ji...@apache.org> on 2014/06/04 04:11:02 UTC
[jira] [Commented] (HADOOP-10660) GraphiteSink should implement
Closeable
[ https://issues.apache.org/jira/browse/HADOOP-10660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14017320#comment-14017320 ]
Chen He commented on HADOOP-10660:
----------------------------------
I have a question, [~tedyu]. I did not find GraphiteSink in hadoop source code but MetricsSystem. I am happy to help.
> 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
>
> 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)