[
https://issues.apache.org/jira/browse/ACCUMULO-3217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Josh Elser resolved ACCUMULO-3217.
----------------------------------
Resolution: Fixed
Took the same approach from 1.7 and applied it to KeyValue for 1.5.3 and 1.6.2.
Wasn't a straight cherry-pick because of additional changes in the commit in
master that I didn't want. Thanks again for the info, [~mdrob].
> KeyValue doesn't implement equals or hashCode
> ---------------------------------------------
>
> Key: ACCUMULO-3217
> URL: https://issues.apache.org/jira/browse/ACCUMULO-3217
> Project: Accumulo
> Issue Type: Bug
> Components: client
> Affects Versions: 1.5.0, 1.5.1, 1.5.2, 1.6.0, 1.6.1
> Reporter: Josh Elser
> Assignee: Josh Elser
> Priority: Critical
> Fix For: 1.5.3, 1.6.2
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> KeyValue doesn't actually implement equals or hashCode which kind of sucks.
> Notably, I can't take the Entry<Key,Value> objects that I get from two
> scanners and check if they're equal.
> This is a trivial fix to delegate down to the Key and Value equals methods.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)