You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Milind Bhandarkar (JIRA)" <ji...@apache.org> on 2006/05/16 23:29:06 UTC
[jira] Updated: (HADOOP-161) dfs blocks define equal, but not
hashcode
[ http://issues.apache.org/jira/browse/HADOOP-161?page=all ]
Milind Bhandarkar updated HADOOP-161:
-------------------------------------
Attachment: hadoop-161.patch
Added a hashCode method to Block. The hash algorithm is from "Effective Java" by Joshua Bloch.
> 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.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