You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Chaoyu Tang (JIRA)" <ji...@apache.org> on 2015/05/06 05:57:00 UTC

[jira] [Created] (HIVE-10620) ZooKeeperHiveLock overrides equal() method but not hashcode()

Chaoyu Tang created HIVE-10620:
----------------------------------

             Summary: ZooKeeperHiveLock overrides equal() method but not hashcode()
                 Key: HIVE-10620
                 URL: https://issues.apache.org/jira/browse/HIVE-10620
             Project: Hive
          Issue Type: Bug
    Affects Versions: 1.0.0
            Reporter: Chaoyu Tang
            Assignee: Chaoyu Tang


ZooKeeperHiveLock overrides the public boolean equals(Object o) method but does not for public int hashCode(). It violates the Java contract that equal and may cause unexpected results.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)