hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8815) RandomDatum overrides equals(Object) but no hashCode()
Date Thu, 02 Oct 2014 10:44:44 GMT

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

Hudson commented on HADOOP-8815:
--------------------------------

FAILURE: Integrated in Hadoop-Yarn-trunk #698 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/698/])
Fixing CHANGES.txt, moving HADOOP-8815 to 2.6.0 release (arp: rev bc6ce2cb34a638851d3530ca31979db30a8a50bd)
* hadoop-common-project/hadoop-common/CHANGES.txt


> RandomDatum overrides equals(Object) but no hashCode()
> ------------------------------------------------------
>
>                 Key: HADOOP-8815
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8815
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 3.0.0
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>            Priority: Minor
>             Fix For: 2.6.0
>
>         Attachments: HADOOP-8815.patch, HADOOP-8815.patch
>
>
> Override equal() but not hashCode() is a violation of the general contract for Object.hashCode
will occur, which can have unexpected repercussions when this class is in conjunction with
all hash-based collections.
> This test class is used in multiple places, so it may be worth fixing.



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

Mime
View raw message