You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Chris Nauroth (JIRA)" <ji...@apache.org> on 2013/11/11 19:13:17 UTC

[jira] [Created] (HDFS-5493) DFSClient#DFSInputStream#blockSeekTo may leak socket connection.

Chris Nauroth created HDFS-5493:
-----------------------------------

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


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