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

Raghu Angadi commented on HADOOP-3073:
--------------------------------------

I just committed this. - Only way I can think of avoiding findbugs warning is 
to write a FilterSocket class.

> SocketOutputStream.close() should close the channel.
> ----------------------------------------------------
>
>                 Key: HADOOP-3073
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3073
>             Project: Hadoop Core
>          Issue Type: Bug
>    Affects Versions: 0.17.0
>            Reporter: Raghu Angadi
>            Assignee: Raghu Angadi
>            Priority: Blocker
>             Fix For: 0.17.0
>
>         Attachments: HADOOP-3073.patch
>
>
> When the stream returned by Socket.getOutputStream() is closed, it closes the 
> socket too. So hadoop.SocketOutputStream and hadoop.SocketInputStream should 
> do the same.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to