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

Tom White commented on HADOOP-6724:
-----------------------------------

+1 (Nice Mockito test.)

> IPC doesn't properly handle IOEs thrown by socket factory
> ---------------------------------------------------------
>
>                 Key: HADOOP-6724
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6724
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.20.3, 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: hadoop-6724.txt
>
>
> If the socket factory throws an IOE inside setupIOStreams, then 
> handleConnectionFailure will be called with socket still null, and thus 
> generate an NPE on socket.close(). This ends up orphaning clients, etc.

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