Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-3371

EditLogFileInputStream: be more careful about closing streams when we're done with them.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      EditLogFileInputStream#EditLogFileInputStream should be more careful about closing streams when there is an exception thrown. Also, EditLogFileInputStream#close should close all of the streams we opened in the constructor, not just one of them (although the file-backed one is probably the most important).

      1. HDFS-3371.002.patch
        1 kB
        Colin Patrick McCabe
      2. HDFS-3371.001.patch
        6 kB
        Colin Patrick McCabe

        Activity

        Colin Patrick McCabe made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        Eli Collins made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Colin Patrick McCabe made changes -
        Attachment HDFS-3371.002.patch [ 12530087 ]
        Colin Patrick McCabe made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Colin Patrick McCabe made changes -
        Field Original Value New Value
        Attachment HDFS-3371.001.patch [ 12525659 ]
        Colin Patrick McCabe created issue -

          People

          • Assignee:
            Colin Patrick McCabe
            Reporter:
            Colin Patrick McCabe
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development