Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-2132

Potential resource leak in EditLogFileOutputStream.close

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

      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

        Aaron T. Myers created issue -
        Aaron T. Myers made changes -
        Field Original Value New Value
        Assignee Aaron T. Myers [ atm ]
        Aaron T. Myers made changes -
        Attachment hdfs-2132.0.patch [ 12485477 ]
        Aaron T. Myers made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Fix Version/s 0.23.0 [ 12315571 ]
        Aaron T. Myers made changes -
        Attachment hdfs-2132.1.patch [ 12485480 ]
        Aaron T. Myers made changes -
        Attachment hdfs-2132.2.patch [ 12485485 ]
        Aaron T. Myers made changes -
        Attachment hdfs-2132.3.patch [ 12485496 ]
        Aaron T. Myers made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Resolution Fixed [ 1 ]
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development