Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5493

DFSClient#DFSInputStream#blockSeekTo may leak socket connection.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2.1
    • None
    • hdfs-client
    • None

    Description

      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.

      Attachments

        1. HDFS-5493-branch-1.patch
          2 kB
          Kousuke Saruta

        Activity

          People

            Unassigned Unassigned
            cnauroth Chris Nauroth
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated: