[ 
https://issues.apache.org/jira/browse/HADOOP-10660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14017970#comment-14017970
 ] 

Chen He commented on HADOOP-10660:
----------------------------------

The unit test failure is caused by hostname is null. NetUtils applies 
normalizeHostNames() to a list of string. For each string, NetUtils applies 
normalizeHostName() which actually return 
InetAddress.getByName(string).getHostAddress();

I did not find relationship between this error and my patch.

> 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)

Reply via email to