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

Address findbugs/spotbugs complaints (branch-1.3)

    XMLWordPrintableJSON

Details

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

    Description

      FindBugs module:hbase-hadoop2-compat
      java.util.concurrent.ScheduledThreadPoolExecutor stored into non-transient field MetricsExecutorImpl$ExecutorSingleton.scheduler At MetricsExecutorImpl.java:MetricsExecutorImpl$ExecutorSingleton.scheduler At MetricsExecutorImpl.java:[line 51]
      FindBugs module:hbase-server
      Possible null pointer dereference of walKey in org.apache.hadoop.hbase.regionserver.HRegion.append(Append, long, long) Dereferenced at HRegion.java:walKey in org.apache.hadoop.hbase.regionserver.HRegion.append(Append, long, long) Dereferenced at HRegion.java:[line 7815]
      Possible null pointer dereference of walKey in org.apache.hadoop.hbase.regionserver.HRegion.doIncrement(Increment, long, long) Dereferenced at HRegion.java:walKey in org.apache.hadoop.hbase.regionserver.HRegion.doIncrement(Increment, long, long) Dereferenced at HRegion.java:[line 8052]
      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 2810]
      org.apache.hadoop.hbase.tool.Canary$RegionMonitor.run() makes inefficient use of keySet iterator instead of entrySet iterator At Canary.java:keySet iterator instead of entrySet iterator At Canary.java:[line 1095]

      Attachments

        1. HBASE-22508-branch-1.3.patch
          6 kB
          Andrew Kyle Purtell

        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: