Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@locus.apache.org Received: (qmail 40021 invoked from network); 14 Aug 2008 17:42:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Aug 2008 17:42:38 -0000 Received: (qmail 13717 invoked by uid 500); 14 Aug 2008 17:42:36 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 13390 invoked by uid 500); 14 Aug 2008 17:42:34 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 13344 invoked by uid 99); 14 Aug 2008 17:42:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Aug 2008 10:42:34 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Aug 2008 17:41:46 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9E04C234C1AE for ; Thu, 14 Aug 2008 10:41:44 -0700 (PDT) Message-ID: <1370167499.1218735704646.JavaMail.jira@brutus> Date: Thu, 14 Aug 2008 10:41:44 -0700 (PDT) From: "Andrew Purtell (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Commented: (HBASE-830) Debugging HCM.locateRegionInMeta is painful In-Reply-To: <686031128.1218727786113.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12622620#action_12622620 ] Andrew Purtell commented on HBASE-830: -------------------------------------- Regarding the backoff strategy, it assumes there is no bug in hbase of course only a temporary problem on the cluster and gives a substantial grace period for recovery by default... as you have noticed. I think this is what the "hbase.client.retries.number" configuration option is for, if you are debugging. Also, setting the "hbase.client.pause" configuration option to something smaller than 10 seconds would have a related effect. > Debugging HCM.locateRegionInMeta is painful > ------------------------------------------- > > Key: HBASE-830 > URL: https://issues.apache.org/jira/browse/HBASE-830 > Project: Hadoop HBase > Issue Type: Bug > Components: client > Affects Versions: 0.2.0 > Reporter: Jean-Daniel Cryans > Priority: Minor > Fix For: 0.2.1, 0.3.0 > > > I've been debugging a case where a bunch of reduces were hanging for no apparent reason and then get killed because they did not do anything for 600 seconds. I figured that it's because we are stuck in a very long waiting time due to retry backoffs. > {code} > public static int RETRY_BACKOFF[] = { 1, 1, 1, 1, 2, 4, 8, 16, 32, 64 }; > {code} > That means we wait 10 sec, 10 sec, 10, 10, ... then 640 sec. That's a long time, do we really need that much time to finally be warned that there's a bug in HBase? > Also, the places where we get this: > {code} > LOG.debug("reloading table servers because: " + t.getMessage()); > {code} > should be more verbose. I my logs these are caused by a table not found but the only thing I see is "reloading table servers because: tableName". -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.