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 B2CB695B3 for ; Wed, 1 Feb 2012 17:35:22 +0000 (UTC) Received: (qmail 71372 invoked by uid 500); 1 Feb 2012 17:35:22 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 71188 invoked by uid 500); 1 Feb 2012 17:35:21 -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 71180 invoked by uid 99); 1 Feb 2012 17:35:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2012 17:35:21 +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; Wed, 01 Feb 2012 17:35:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8656B1840DE for ; Wed, 1 Feb 2012 17:35:00 +0000 (UTC) Date: Wed, 1 Feb 2012 17:35:00 +0000 (UTC) From: "Zhihong Yu (Updated) (JIRA)" To: issues@hbase.apache.org Message-ID: <1417369687.3344.1328117700551.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <479218187.794.1328057936755.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HBASE-5310) HConnectionManager server cache key enhancement 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-5310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zhihong Yu updated HBASE-5310: ------------------------------ Summary: HConnectionManager server cache key enhancement (was: HConnectionManager cache server name enhancement) Hadoop Flags: Reviewed Integrated to TRUNK. Thanks for the patch Jimmy > HConnectionManager server cache key enhancement > ----------------------------------------------- > > Key: HBASE-5310 > URL: https://issues.apache.org/jira/browse/HBASE-5310 > Project: HBase > Issue Type: Improvement > Components: client > Affects Versions: 0.94.0 > Reporter: Jimmy Xiang > Assignee: Jimmy Xiang > Priority: Minor > Fix For: 0.94.0 > > Attachments: hbase-5310.txt > > > HConnectionManager uses deprecated HServerAddress to create server cache key which needs to resolve the address every time. > It should be better to use HRegionLocation.getHostnamePort() instead. > In our cluster we have some DNS issue, resolving an address fails sometime which kills the application since it is a runtime > exception IllegalArgumentException thrown at HServerAddress.getResolvedAddress. This change will fix this issue as well. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira