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

Streamer threads leak if failure happens when closing DFSOutputStream

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7.1
    • 2.8.0, 2.7.3, 3.0.0-alpha1
    • hdfs-client
    • None
    • Reviewed

    Description

      In HDFS-9794, it has solved problem of that stream thread leak if failure happens when closing the striped outputstream. And in DFSOutputStream, it also exists the same problem in DFSOutputStream#closeImpl. If failures happen when flushing data blocks, the streamer threads will also not be closed.

      Attachments

        1. HDFS-9812-branch-2.7.patch
          2 kB
          Akira Ajisaka
        2. HDFS-9812.branch-2.patch
          1 kB
          Akira Ajisaka
        3. HDFS-9812.004.patch
          3 kB
          Yiqun Lin
        4. HDFS-9812.003.patch
          4 kB
          Yiqun Lin
        5. HDFS-9812.002.patch
          12 kB
          Yiqun Lin
        6. HDFS.001.patch
          2 kB
          Yiqun Lin

        Issue Links

          Activity

            People

              linyiqun Yiqun Lin
              linyiqun Yiqun Lin
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: