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

Possible Resource Leak in EditLogFileOutputStream

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.1, 3.4.0
    • None
    • Reviewed

    Description

      We noticed a possible resource leak here. If an I/O error occurs at line 91, rp remains open since the exception isn't caught locally, and there is no way for any caller to close the RandomAccessFile.
      I'll submit a pull request to fix it.

      Attachments

        Issue Links

          Activity

            People

              NargesShadab Narges Shadab
              NargesShadab Narges Shadab
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 40m
                  2h 40m