[
https://issues.apache.org/jira/browse/HBASE-12413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14385386#comment-14385386
]
Hudson commented on HBASE-12413:
--------------------------------
SUCCESS: Integrated in HBase-TRUNK #6316 (See
[https://builds.apache.org/job/HBase-TRUNK/6316/])
HBASE-12413 Mismatch in the equals and hashcode methods of KeyValue (Jingcheng
Du and Gariel Reid) (tedyu: rev bd837d47f7230798f2bb7ac18e711e8f265b167f)
* hbase-common/src/main/java/org/apache/hadoop/hbase/CellComparator.java
* hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java
* hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java
> Mismatch in the equals and hashcode methods of KeyValue
> -------------------------------------------------------
>
> Key: HBASE-12413
> URL: https://issues.apache.org/jira/browse/HBASE-12413
> Project: HBase
> Issue Type: Bug
> Reporter: Jingcheng Du
> Assignee: Jingcheng Du
> Priority: Minor
> Fix For: 2.0.0
>
> Attachments: HBASE-12413-V2.diff, HBASE-12413.diff,
> HBASE-12413.v3.patch, HBASE-12413.v4.patch, HBASE-12413.v4.patch
>
>
> In the equals method of KeyValue only row key is compared, and in the
> hashcode method all bacing bytes are calculated. This breaks the Java rule.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)