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 DCC0FDD26 for ; Thu, 5 Jul 2012 17:54:35 +0000 (UTC) Received: (qmail 99013 invoked by uid 500); 5 Jul 2012 17:54:35 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 98934 invoked by uid 500); 5 Jul 2012 17:54:35 -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 98640 invoked by uid 99); 5 Jul 2012 17:54:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jul 2012 17:54:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 34C33142852 for ; Thu, 5 Jul 2012 17:54:35 +0000 (UTC) Date: Thu, 5 Jul 2012 17:54:35 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: <951766812.9974.1341510875222.JavaMail.jiratomcat@issues-vm> In-Reply-To: <926244538.1312.1341359734454.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (HBASE-6326) Avoid nested retry loops in HConnectionManager 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-6326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13407329#comment-13407329 ] Hudson commented on HBASE-6326: ------------------------------- Integrated in HBase-0.94 #298 (See [https://builds.apache.org/job/HBase-0.94/298/]) HBASE-6326 Avoid nested retry loops in HConnectionManager (Revision 1357752) Result = FAILURE larsh : Files : * /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java > Avoid nested retry loops in HConnectionManager > ---------------------------------------------- > > Key: HBASE-6326 > URL: https://issues.apache.org/jira/browse/HBASE-6326 > Project: HBase > Issue Type: Bug > Reporter: Lars Hofhansl > Assignee: Lars Hofhansl > Priority: Critical > Fix For: 0.96.0, 0.94.1 > > Attachments: 6326-trunk.txt, 6326.txt > > > While testing client timeouts when the HBase is not available we found that even with aggressive settings, it takes the client 10 minutes or more to finally receive an exception. > Part of this is due to nested nested retry loops in locateRegion. > locateRegion will first try to locate the table in meta (which is retried), then it will try to locate the meta table is root (which is also retried). > So for each retry of the meta lookup we retry the root lookup as well. > I have have that avoids locateRegion retrying if it is called from code that already has a retry loop. -- 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