[ 
https://issues.apache.org/jira/browse/HBASE-19884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16349569#comment-16349569
 ] 

Hudson commented on HBASE-19884:
--------------------------------

FAILURE: Integrated in Jenkins build HBase-Trunk_matrix #4510 (See 
[https://builds.apache.org/job/HBase-Trunk_matrix/4510/])
HBASE-19884 BucketEntryGroup's equals, hashCode and compareTo methods (stack: 
rev d47242247552bbad2df578c89501a6c6789c89c8)
* (edit) 
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java


> BucketEntryGroup's equals, hashCode and compareTo methods are not consistent
> ----------------------------------------------------------------------------
>
>                 Key: HBASE-19884
>                 URL: https://issues.apache.org/jira/browse/HBASE-19884
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.0.0-beta-1
>            Reporter: Peter Somogyi
>            Assignee: Peter Somogyi
>            Priority: Major
>             Fix For: 2.0.0-beta-2
>
>         Attachments: HBASE-19884.master.001.patch, 
> HBASE-19884.master.001.patch, HBASE-19884.master.001.patch, 
> HBASE-19884.master.002.patch, HBASE-19884.master.003.patch
>
>
> BucketEntryGroup currently uses different fields to calculate compareTo, 
> equals and hasCode.
> In some cases !a.equals(b) but a.compareTo(b) == 0. Javadoc of Comparator 
> recommends that natural orderings be consistent with equals.



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

Reply via email to