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

Potential resource leak in EditLogFileOutputStream.close

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.0
    • 0.23.0
    • None
    • None
    • 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 Myers
        2. hdfs-2132.1.patch
          5 kB
          Aaron Myers
        3. hdfs-2132.2.patch
          5 kB
          Aaron Myers
        4. hdfs-2132.3.patch
          5 kB
          Aaron Myers

        Activity

          People

            atm Aaron Myers
            atm Aaron Myers
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: