hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Somogyi (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-21056) Findbugs false positive: BucketCache.persistToFile may fail to clean up java.io.OutputStream
Date Wed, 18 Sep 2019 08:05:00 GMT

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

Peter Somogyi resolved HBASE-21056.
-----------------------------------
    Fix Version/s: 2.3.0
       Resolution: Fixed

Cherry-picked d159b1f8bb to branch-2.

> 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, 2.3.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)

Mime
View raw message