hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-15794) Fix Findbugs instanceof always true issue in MultiServerCallable
Date Sat, 07 May 2016 17:06:13 GMT

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

stack updated HBASE-15794:
--------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 2.0.0
           Status: Resolved  (was: Patch Available)

Pushed to master branch. Thanks for the fix [~jurmous]

> Fix Findbugs instanceof always true issue in MultiServerCallable
> ----------------------------------------------------------------
>
>                 Key: HBASE-15794
>                 URL: https://issues.apache.org/jira/browse/HBASE-15794
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Jurriaan Mous
>            Assignee: Jurriaan Mous
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: HBASE-15794.patch
>
>
> Findbugs keeps reporting this issue on Client:
> Code	Warning
> BC	instanceof will always return true for all nonnull values in org.apache.hadoop.hbase.client.MultiServerCallable.isCellBlock(),
since all org.apache.hadoop.hbase.client.ClusterConnection are instances of org.apache.hadoop.hbase.client.ClusterConnection
> Bug type BC_VACUOUS_INSTANCEOF (click for details) 
> In class org.apache.hadoop.hbase.client.MultiServerCallable
> In method org.apache.hadoop.hbase.client.MultiServerCallable.isCellBlock()
> Actual type org.apache.hadoop.hbase.client.ClusterConnection
> Expected org.apache.hadoop.hbase.client.ClusterConnection
> At MultiServerCallable.java:[line 141]
> https://builds.apache.org/job/PreCommit-HBASE-Build/1812/artifact/patchprocess/branch-findbugs-hbase-client-warnings.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message