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

Potential resource leak in EditLogFileOutputStream.close

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 0.23.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      EditLogFileOutputStream.close(...) sequentially closes a series of underlying resources. If any of the calls to close() throw before the last one, the later resources will never be closed.

        Attachments

        1. hdfs-2132.0.patch
          2 kB
          Aaron T. Myers
        2. hdfs-2132.1.patch
          5 kB
          Aaron T. Myers
        3. hdfs-2132.2.patch
          5 kB
          Aaron T. Myers
        4. hdfs-2132.3.patch
          5 kB
          Aaron T. Myers

          Activity

            People

            • Assignee:
              atm Aaron T. Myers
              Reporter:
              atm Aaron T. Myers
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: