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

Possible Resource Leak in FSImageFormatProtobuf

    XMLWordPrintableJSON

Details

    Description

      We noticed a possible resource leak here. If an I/O error occurs at line 273 or 277, fin remains open since the exception isn't caught locally, and there is no way for any caller to close the FileInputStream

      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:
              1 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 - 1h 50m
                  1h 50m