[
https://issues.apache.org/jira/browse/HBASE-12413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14194407#comment-14194407
]
Anoop Sam John commented on HBASE-12413:
----------------------------------------
equals consider other elements other than rk. We need to include them also. Why
not including (such as cf,q etc)?
> 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
> Priority: Minor
> Attachments: HBASE-12413.diff
>
>
> 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)