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)

Reply via email to