Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-25499

False-positive findbugs issue on branch-2.2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.7
    • 2.2.7
    • findbugs
    • None

    Description

      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. 

      Attachments

        Issue Links

          Activity

            People

              psomogyi Peter Somogyi
              psomogyi Peter Somogyi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: