hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jitendra Nath Pandey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-1118) DFSOutputStream socket leak when cannot connect to DataNode
Date Mon, 22 Aug 2011 21:34:29 GMT

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

Jitendra Nath Pandey commented on HDFS-1118:
--------------------------------------------

+1 for hdfs-1118.20s.patch

> DFSOutputStream socket leak when cannot connect to DataNode
> -----------------------------------------------------------
>
>                 Key: HDFS-1118
>                 URL: https://issues.apache.org/jira/browse/HDFS-1118
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.1, 0.20.2, 0.20-append, 0.21.0
>            Reporter: Zheng Shao
>            Assignee: Zheng Shao
>             Fix For: 0.20-append, 0.20.205.0, 0.22.0
>
>         Attachments: HDFS-1118.1.patch, HDFS-1118.2.patch, hdfs-1118.20s.patch, trunkPatch.txt
>
>
> The offending code is in {{DFSOutputStream.nextBlockOutputStream}}
> This function retries several times to call {{createBlockOutputStream}}. Each time when
it fails, it leaves a {{Socket}} object in {{DFSOutputStream.s}}.
> That object is never closed, but overwritten the next time {{createBlockOutputStream}}
is called.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message