You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Peter Somogyi (Jira)" <ji...@apache.org> on 2019/09/18 07:58:00 UTC

[jira] [Commented] (HBASE-21056) Findbugs false positive: BucketCache.persistToFile may fail to clean up java.io.OutputStream

    [ https://issues.apache.org/jira/browse/HBASE-21056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16932177#comment-16932177 ] 

Peter Somogyi commented on HBASE-21056:
---------------------------------------

Nightly build on branch-2 failed with the same findbugs warning:
||Code||Warning||
|OBL|org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.persistToFile() may fail to clean up java.io.OutputStream|

> 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
>             Fix For: 3.0.0
>
>         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
(v8.3.4#803005)