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 AE5607A24 for ; Wed, 7 Dec 2011 07:21:03 +0000 (UTC) Received: (qmail 67318 invoked by uid 500); 7 Dec 2011 07:21:03 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 67280 invoked by uid 500); 7 Dec 2011 07:21:02 -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 67254 invoked by uid 99); 7 Dec 2011 07:21:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Dec 2011 07:21:02 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,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, 07 Dec 2011 07:21:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9B8981055E4 for ; Wed, 7 Dec 2011 07:20:40 +0000 (UTC) Date: Wed, 7 Dec 2011 07:20:40 +0000 (UTC) From: "Hudson (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <282598884.48546.1323242440638.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <554273719.35049.1322837860124.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-4936) Cached HRegionInterface connections crash when getting UnknownHost exceptions 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-4936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164203#comment-13164203 ] Hudson commented on HBASE-4936: ------------------------------- Integrated in HBase-TRUNK #2523 (See [https://builds.apache.org/job/HBase-TRUNK/2523/]) HBASE-4936 Cached HRegionInterface connections crash when getting UnknownHost exceptions stack : Files : * /hbase/trunk/src/main/java/org/apache/hadoop/hbase/catalog/CatalogTracker.java > Cached HRegionInterface connections crash when getting UnknownHost exceptions > ----------------------------------------------------------------------------- > > Key: HBASE-4936 > URL: https://issues.apache.org/jira/browse/HBASE-4936 > Project: HBase > Issue Type: Bug > Components: regionserver > Affects Versions: 0.92.0 > Reporter: Andrei Dragomir > Assignee: Andrei Dragomir > Fix For: 0.94.0 > > Attachments: HBASE-4936-v2.patch, HBASE-4936.patch > > > This isssue is unlikely to come up in a cluster test case. However, for development, the following thing happens: > 1. Start the HBase cluster locally, on network A (DNS A, etc) > 2. The region locations are cached using the hostname (mycomputer.company.com, 211.x.y.z - real ip) > 3. Change network location (go home) > 4. Start the HBase cluster locally. My hostname / ips are not different (mycomputer, 192.168.0.130 - new ip) > If the region locations have been cached using the hostname, there is an UnknownHostException in CatalogTracker.getCachedConnection(ServerName sn), uncaught in the catch statements. The server will crash constantly. > The error should be caught and not rethrown, so that the cached connection expires normally. -- 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