[ 
https://issues.apache.org/jira/browse/HBASE-21056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Busbey updated HBASE-21056:
--------------------------------
    Status: Patch Available  (was: In Progress)

-v1 suppress the obligation warning.

tested locally with maven findbugs plugin on just the hbase-server module and 
on the top level.

> Findbugs false positive: BucketCache.persistToFile may fail to clean up 
> java.io.OutputStream 
> ---------------------------------------------------------------------------------------------
>
>                 Key: HBASE-21056
>                 URL: https://issues.apache.org/jira/browse/HBASE-21056
>             Project: HBase
>          Issue Type: Bug
>          Components: BucketCache
>    Affects Versions: 3.0.0
>            Reporter: Sean Busbey
>            Assignee: Sean Busbey
>            Priority: Minor
>         Attachments: HBASE-21056.0.patch
>
>
> Found by the nightly job via FindBugs:
> {code}
> 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
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to