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

Address findbugs/spotbugs complaints (branch-1)

    XMLWordPrintableJSON

Details

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

    Description

      FindBugs module:hbase-server
      Dead store to bypass in org.apache.hadoop.hbase.master.HMaster.listNamespaces() At HMaster.java:org.apache.hadoop.hbase.master.HMaster.listNamespaces() At HMaster.java:[line 3081]
      Switch statement found in org.apache.hadoop.hbase.quotas.MasterQuotaManager.applyThrottle(QuotaProtos$Quotas$Builder, QuotaProtos$ThrottleRequest) where one case falls through to the next case At MasterQuotaManager.java:QuotaProtos$ThrottleRequest) where one case falls through to the next case At MasterQuotaManager.java:[lines 444-447]
      Possible null pointer dereference of r in org.apache.hadoop.hbase.regionserver.HStore.removeCompactedfiles(Collection) Dereferenced at HStore.java:r in org.apache.hadoop.hbase.regionserver.HStore.removeCompactedfiles(Collection) Dereferenced at HStore.java:[line 2800]
      org.apache.hadoop.hbase.util.compaction.MajorCompactor.ERRORS is a mutable collection which should be package protected At MajorCompactor.java:which should be package protected At MajorCompactor.java:[line 72]

      Attachments

        1. HBASE-22510-branch-1.patch
          7 kB
          Andrew Kyle Purtell

        Issue Links

          Activity

            People

              apurtell Andrew Kyle Purtell
              apurtell Andrew Kyle Purtell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: