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

HBaseConfiguration implements hashCode() without implementing equals()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 0.20.1
    • 0.90.0
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: