Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E30A725E5 for ; Thu, 5 May 2011 06:33:45 +0000 (UTC) Received: (qmail 46688 invoked by uid 500); 5 May 2011 06:33:45 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 46609 invoked by uid 500); 5 May 2011 06:33:45 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 46597 invoked by uid 99); 5 May 2011 06:33:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 May 2011 06:33:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 May 2011 06:33:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5BACBC2C58 for ; Thu, 5 May 2011 06:33:03 +0000 (UTC) Date: Thu, 5 May 2011 06:33:03 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: <1631980776.23816.1304577183371.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <426763833.2760.1300160669603.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (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 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-3644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13029166#comment-13029166 ] stack commented on HBASE-3644: ------------------------------ hbase-1502 has been committed and in includes deprecation of hsa > 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 > Fix For: 0.92.0 > > > 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 is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira