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 2021/01/12 10:16:00 UTC

[jira] [Updated] (HBASE-25499) False-positive findbugs issue on branch-2.2

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

Peter Somogyi updated HBASE-25499:
----------------------------------
    Status: Patch Available  (was: Open)

> 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
>
> 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)