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

Possible Resource Leak in org.apache.hadoop.hdfs.qjournal.server.Journal

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      We noticed a possible resource leak here. The call to close on storage at line 267 can throw an exception. If it occurs, then committedTxnId and curSegment are never closed.

      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 10m
                  1h 10m