hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kousuke Saruta (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-5493) DFSClient#DFSInputStream#blockSeekTo may leak socket connection.
Date Wed, 13 Nov 2013 06:00:22 GMT

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

Kousuke Saruta updated HDFS-5493:
---------------------------------

    Status: Open  (was: Patch Available)

> DFSClient#DFSInputStream#blockSeekTo may leak socket connection.
> ----------------------------------------------------------------
>
>                 Key: HDFS-5493
>                 URL: https://issues.apache.org/jira/browse/HDFS-5493
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs-client
>    Affects Versions: 1.2.1
>            Reporter: Chris Nauroth
>         Attachments: HDFS-5493-branch-1.patch
>
>
> {{DFSClient#DFSInputStream#blockSeekTo}} may handle {{IOException}} by refetching a new
block access token and then reattempting {{fetchBlockAt}}.  However, {{fetchBlockAt}} may
then throw its own {{IOException}}.  If this happens, then the method skips calling {{Socket#close}}.
 This is likely to manifest as a leak of sockets left in CLOSE_WAIT status.



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

Mime
View raw message