accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Newton (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (ACCUMULO-4029) hashCode for Mutation has an unfortunate implementation
Date Mon, 19 Oct 2015 14:12:05 GMT

     [ https://issues.apache.org/jira/browse/ACCUMULO-4029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Eric Newton reassigned ACCUMULO-4029:
-------------------------------------

    Assignee: Eric Newton

> 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
>
>
> 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)

Mime
View raw message