You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2010/09/03 06:59:33 UTC
[jira] Resolved: (HBASE-1976) HBaseConfiguration implements
hashCode() without implementing equals()
[ https://issues.apache.org/jira/browse/HBASE-1976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack resolved HBASE-1976.
--------------------------
Fix Version/s: 0.90.0
Resolution: Invalid
Resolving invalid. HBaseConfiguration had an equals added a good while ago which is what this issue is about. Adding equals and a hashcode in the first place was probably a mistake. Will likely be backed out by hbase-2925, but regardless, this issue was 'addressed' a while back. Closing. Thanks for filing Age.
> HBaseConfiguration implements hashCode() without implementing equals()
> ----------------------------------------------------------------------
>
> Key: HBASE-1976
> URL: https://issues.apache.org/jira/browse/HBASE-1976
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.20.1
> Environment: HBase
> Reporter: Age Mooij
> Fix For: 0.90.0
>
>
> I was browsing though the HBase 0.20.1 code in order to learn about the way HBase deals with Configuration and I noticed that HBaseConfiguration overrides hashCode() without implementing equals(). This can cause some tricky, hard to debug problems whenever instances of this class are added to Maps or HashSets.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.