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

Chaoyu Tang updated HIVE-10620:
-------------------------------
    Description: ZooKeeperHiveLock overrides the public boolean equals(Object 
o) method but does not for public int hashCode(). It violates the Java contract 
and may cause unexpected results.  (was: 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.)

> 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 and may 
> cause unexpected results.



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

Reply via email to