Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E01A210231 for ; Sun, 26 Jan 2014 22:45:50 +0000 (UTC) Received: (qmail 92860 invoked by uid 500); 26 Jan 2014 22:45:40 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 92677 invoked by uid 500); 26 Jan 2014 22:45:38 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 92657 invoked by uid 99); 26 Jan 2014 22:45:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Jan 2014 22:45:38 +0000 Date: Sun, 26 Jan 2014 22:45:38 +0000 (UTC) From: "stack (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HBASE-3644) HServerAddress Violates Equivalence Relations MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-3644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack resolved HBASE-3644. -------------------------- Resolution: Invalid No HSA anymore. Resolving as no longer valid. > HServerAddress Violates Equivalence Relations > --------------------------------------------- > > Key: HBASE-3644 > URL: https://issues.apache.org/jira/browse/HBASE-3644 > Project: HBase > Issue Type: Bug > Affects Versions: 0.90.2, 0.92.0 > Reporter: Nicolas Spiegelberg > Assignee: Nicolas Spiegelberg > > 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(). -- This message was sent by Atlassian JIRA (v6.1.5#6160)