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

Andrew Purtell updated HBASE-22510:
-----------------------------------
    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] 

  was:
FindBugs        module:hbase-common
        Inconsistent synchronization of 
org.apache.hadoop.hbase.io.encoding.EncodedDataBlock$BufferGrabbingByteArrayOutputStream.ourBytes;
 locked 50% of time Unsynchronized access at EncodedDataBlock.java:50% of time 
Unsynchronized access at EncodedDataBlock.java:[line 258]
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 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 2840] 


> Address findbugs/spotbugs complaints (branch-1) 
> ------------------------------------------------
>
>                 Key: HBASE-22510
>                 URL: https://issues.apache.org/jira/browse/HBASE-22510
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Major
>             Fix For: 1.4.10
>
>
> 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] 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to