hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Milind Bhandarkar (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-161) dfs blocks define equal, but not hashcode
Date Tue, 16 May 2006 22:19:06 GMT
     [ http://issues.apache.org/jira/browse/HADOOP-161?page=all ]

Milind Bhandarkar updated HADOOP-161:
-------------------------------------

    Attachment: hadoop-161-correct.patch

Please disregard the last patch. Since equals compares blockIds only, hashCode should also
consider only blockIds. Correct patch is attached here.

> dfs blocks define equal, but not hashcode
> -----------------------------------------
>
>          Key: HADOOP-161
>          URL: http://issues.apache.org/jira/browse/HADOOP-161
>      Project: Hadoop
>         Type: Bug

>   Components: dfs
>     Versions: 0.1.1
>     Reporter: Owen O'Malley
>     Assignee: Sameer Paranjpye
>  Attachments: hadoop-161-correct.patch, hadoop-161.patch
>
> Findbugs reports that dfs.Block defines equals but not hashcode, which is problematic
if it is ever put into a hash table.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message