Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-73

DFSOutputStream does not close all the sockets

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.23.0
    • Component/s: hdfs-client
    • Labels:
      None
    • Hadoop Flags:
      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.

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

        Activity

          People

          • Assignee:
            Uma Maheswara Rao G
            Reporter:
            Raghu Angadi
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development