[
https://issues.apache.org/jira/browse/HBASE-22510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16854927#comment-16854927
]
Andrew Purtell commented on HBASE-22510:
----------------------------------------
branch-1.3 patch was committed so am going to commit this related work too
shortly unless objection.
> 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.5.0
>
> Attachments: HBASE-22510-branch-1.patch
>
>
> 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)