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

DFSOutputStream does not close all the sockets

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 0.23.0
    • hdfs-client
    • None
    • Reviewed

    Description

      When DFSOutputStream writes to multiple blocks, it closes only the socket opened for the last block. When it is done with writing to one block it should close the socket.

      I noticed this when I was fixing HADOOP-3067. After fixing HADOOP-3067, there were still a lot of sockets open (but not enough to fail the tests). These sockets were used to write to blocks.

      Attachments

        1. HDFS-73_0.23_1.patch
          3 kB
          Uma Maheswara Rao G
        2. HDFS-73_0.23.patch
          2 kB
          Uma Maheswara Rao G
        3. HADOOP-3071.patch
          3 kB
          Raghu Angadi

        Activity

          People

            umamaheswararao Uma Maheswara Rao G
            rangadi Raghu Angadi
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: