Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10526

Chance for Stream leakage in CompressorStream

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 2.5.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed
    • Tags:
      compression , resource leak

      Description

      In CompressorStream.close , finish() can throw IOException . But out will not be closed in that situation since it is not in finally

        Attachments

        1. HDFS-2630.patch
          4 kB
          Rushabh S Shah
        2. HDFS-2630-v2.patch
          3 kB
          Rushabh S Shah

          Activity

            People

            • Assignee:
              shahrs87 Rushabh S Shah
              Reporter:
              jacsparrow SreeHari
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: