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

Ted Yu commented on HBASE-8853:
-------------------------------

{code}
+        socket.getOutputStream().close();
+        socket.getInputStream().close();
+        socket.getChannel().close();
+        socket.close();
{code}
What if any of the first 3 close() calls results in exception ?
                
> The client connection is not cut when receiving the failure notification
> ------------------------------------------------------------------------
>
>                 Key: HBASE-8853
>                 URL: https://issues.apache.org/jira/browse/HBASE-8853
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 0.95.1
>            Reporter: Nicolas Liochon
>            Assignee: Nicolas Liochon
>             Fix For: 0.95.2
>
>         Attachments: 8853.v1.patch, 8853.v2.patch
>
>
> It seems we broke something when we changed the client code (likely nio 
> stuff). Here is a fix and a unit test.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to