hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chaoyu Tang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-10620) ZooKeeperHiveLock overrides equal() method but not hashcode()
Date Thu, 07 May 2015 20:28:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-10620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14533324#comment-14533324
] 

Chaoyu Tang commented on HIVE-10620:
------------------------------------

Thanks [~ashutoshc] for review and [~szehon] for committing the patch

> 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
>             Fix For: 1.3.0
>
>         Attachments: HIVE-10620.patch
>
>
> 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)

Mime
View raw message