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

HServerAddress Violates Equivalence Relations

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 0.90.2, 0.92.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      See HBASE-3387 or http://www.ibm.com/developerworks/java/library/j-jtp05273.html#N10184 . Basically, 'a' denotes HServerAddress(DNS) & 'b' denotes HServerAddress(nslookup(DNS)). This is extremely common within HBase when 'conf/regionserver' contains DNS entries because ClusterStatus.getServers() is IP-based. You have a.address.equals(b.address) && !a.stringValue.equals(b.stringValue). In this case, a.equals(b) while a.hashCode() != b.hashCode().

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nspiegelberg Nicolas Spiegelberg
                Reporter:
                nspiegelberg Nicolas Spiegelberg
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: