[
https://issues.apache.org/jira/browse/HBASE-21056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16581124#comment-16581124
]
Sean Busbey commented on HBASE-21056:
-------------------------------------
this is a false positive. the code came in via HBASE-20894. In that issue,
precommit said findbugs was okay. the nightly run after the checkin failed to
run the jdk8-hadoop2 step, which is where we do findbugs. :( a couple of
evenings later the nightly run started doing that check again and this failure
started showing up (build #418).
> 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
> Priority: Critical
>
> 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)