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

REST module has 2 extant results in findbugs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • None
    • None
    • Reviewed

    Description

      Patches that modify hbase-rest current getting the following warnings from findbugs:

      DLS Dead store to params in org.apache.hadoop.hbase.rest.ScannerResource.update(ScannerModel, boolean, UriInfo)
      Bug type DLS_DEAD_LOCAL_STORE (click for details)
      In class org.apache.hadoop.hbase.rest.ScannerResource
      In method org.apache.hadoop.hbase.rest.ScannerResource.update(ScannerModel, boolean, UriInfo)
      Local variable named params
      At ScannerResource.java:[line 94]

      REC Exception is caught when Exception is not thrown in org.apache.hadoop.hbase.rest.TableResource.getScanResource(UriInfo, String, String, int, String, String, List, int, int, long, long, boolean, String)
      Bug type REC_CATCH_EXCEPTION (click for details)
      In class org.apache.hadoop.hbase.rest.TableResource
      In method org.apache.hadoop.hbase.rest.TableResource.getScanResource(UriInfo, String, String, int, String, String, List, int, int, long, long, boolean, String)
      At TableResource.java:[line 196]

      https://builds.apache.org/job/PreCommit-HBASE-Build/2041/artifact/patchprocess/branch-findbugs-hbase-rest-warnings.html

      Attachments

        1. HBASE-15912-v1.patch
          2 kB
          Sean Mackrory

        Activity

          People

            mackrorysd Sean Mackrory
            mackrorysd Sean Mackrory
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: