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 "Tsuyoshi OZAWA (JIRA)" <ji...@apache.org> on 2013/11/12 09:07:18 UTC

[jira] [Updated] (HADOOP-10081) Client.setupIOStreams can leak socket resources on exception or error

     [ https://issues.apache.org/jira/browse/HADOOP-10081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsuyoshi OZAWA updated HADOOP-10081:
------------------------------------

    Attachment: HADOOP-10081.1.patch

Fixed to call closeConnection() method in close() method.

> Client.setupIOStreams can leak socket resources on exception or error
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-10081
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10081
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.23.9, 2.2.0
>            Reporter: Jason Lowe
>            Priority: Critical
>         Attachments: HADOOP-10081.1.patch
>
>
> The setupIOStreams method in org.apache.hadoop.ipc.Client can leak socket resources if an exception is thrown before the inStream and outStream local variables are assigned to this.in and this.out, respectively.  



--
This message was sent by Atlassian JIRA
(v6.1#6144)