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] [Created] (ACCUMULO-4029) hashCode for Mutation has an unfortunate implementation
Date Thu, 15 Oct 2015 16:43:05 GMT
Eric Newton created ACCUMULO-4029:
-------------------------------------

             Summary: 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.7.0, 1.6.4
            Reporter: 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