hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HBASE-1976) HBaseConfiguration implements hashCode() without implementing equals()
Date Fri, 03 Sep 2010 04:59:33 GMT

     [ 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.


Mime
View raw message