[
https://issues.apache.org/jira/browse/HBASE-25499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Somogyi updated HBASE-25499:
----------------------------------
Fix Version/s: 2.2.7
Resolution: Fixed
Status: Resolved (was: Patch Available)
Merged PR to branch-2.2.
> False-positive findbugs issue on branch-2.2
> -------------------------------------------
>
> Key: HBASE-25499
> URL: https://issues.apache.org/jira/browse/HBASE-25499
> Project: HBase
> Issue Type: Bug
> Components: findbugs
> Affects Versions: 2.2.7
> Reporter: Peter Somogyi
> Assignee: Peter Somogyi
> Priority: Major
> Fix For: 2.2.7
>
>
> Findbugs reports a false-positive issue.
> new org.apache.hadoop.hbase.rest.client.Client(Cluster, String, Optional,
> Optional) may fail to clean up java.io.InputStream
> Try-with-resource block is used so the resource is cleaned up but findbugs
> thinks it otherwise. I tried to reproduce the problem locally and using the
> same docker container nightly test is using but findbugs did not report the
> problem for me.
> Since branch-2.2 will be EOL soon I'd like to just add SuppressWarning to
> ignore the false-positive findbugs warning.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)