Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-1976

HBaseConfiguration implements hashCode() without implementing equals()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 0.20.1
    • Fix Version/s: 0.90.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      HBase

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                agemooij Age Mooij
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: