You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Eric Newton (JIRA)" <ji...@apache.org> on 2015/10/19 16:52:05 UTC
[jira] [Resolved] (ACCUMULO-4029) hashCode for Mutation has an
unfortunate implementation
[ https://issues.apache.org/jira/browse/ACCUMULO-4029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Newton resolved ACCUMULO-4029.
-----------------------------------
Resolution: Fixed
> hashCode for Mutation has an unfortunate implementation
> -------------------------------------------------------
>
> Key: ACCUMULO-4029
> URL: https://issues.apache.org/jira/browse/ACCUMULO-4029
> Project: Accumulo
> Issue Type: Bug
> Components: client
> Affects Versions: 1.6.4, 1.7.0
> Reporter: Eric Newton
> Assignee: Eric Newton
> Fix For: 1.6.5, 1.7.1, 1.8.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> While looking at how a tablet server processes constraint violations, I happened to look into Mutation's hashCode implementation:
> {code}
> @Override
> public int hashCode() {
> return toThrift(false).hashCode();
> }
> {code}
> Clicking through to TMutation hashCode finds this gem:
> {code}
> @Override
> public int hashCode() {
> return 0;
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)