Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-21056

Findbugs false positive: BucketCache.persistToFile may fail to clean up java.io.OutputStream

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha-1
    • 3.0.0-alpha-1, 2.3.0
    • BucketCache
    • None

    Description

      Found by the nightly job via FindBugs:

      FindBugs	module:hbase-server
      org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.persistToFile() may fail to clean up java.io.OutputStream Obligation to clean up resource created at BucketCache.java:up java.io.OutputStream Obligation to clean up resource created at BucketCache.java:[line 1089] is not discharged
      

      Attachments

        1. HBASE-21056.0.patch
          1 kB
          Sean Busbey

        Activity

          People

            busbey Sean Busbey
            busbey Sean Busbey
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: