hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12413) Mismatch in the equals and hashcode methods of KeyValue
Date Sat, 02 May 2015 06:34:07 GMT

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

Hudson commented on HBASE-12413:
--------------------------------

SUCCESS: Integrated in HBase-0.98 #974 (See [https://builds.apache.org/job/HBase-0.98/974/])
HBASE-12413 Mismatch in the equals and hashcode methods of KeyValue (Jingcheng Du and Gariel
Reid) (apurtell: rev 38288ebcac2db06d3241ffa7bbb6c5c8e1b0a23f)
* hbase-common/src/main/java/org/apache/hadoop/hbase/CellComparator.java
* hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java
* hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.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, 0.94.28, 0.98.13, 1.0.2, 1.2.0, 1.1.1
>
>         Attachments: HBASE-12413-0.98.patch, 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)

Mime
View raw message