Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BC35A79AC for ; Fri, 9 Dec 2011 16:39:43 +0000 (UTC) Received: (qmail 42857 invoked by uid 500); 9 Dec 2011 16:39:42 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 42818 invoked by uid 500); 9 Dec 2011 16:39:42 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 42810 invoked by uid 99); 9 Dec 2011 16:39:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Dec 2011 16:39:42 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of saint.ack@gmail.com designates 209.85.212.41 as permitted sender) Received: from [209.85.212.41] (HELO mail-vw0-f41.google.com) (209.85.212.41) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Dec 2011 16:39:35 +0000 Received: by vbbfn1 with SMTP id fn1so3170608vbb.14 for ; Fri, 09 Dec 2011 08:39:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=CP/xiNFXbVvlklU8pek6BuksxSx1ubD4ezlXbNVCF7s=; b=qS8yHXPG2wAm8KSypVcKSKnBn+ZAr/WHeJ9NMWpCbQM/aWwhCmvnWJL+G96RPpt660 CY3fWhqikVhyhaybgQwtaG4dD1nSU2YCiL4lA5g/OxDwRi1NufbnaoESjdzlsbotQ9pz ZG+fWeNU3kPVFo8XFbJgB1tFBDRrov6Ojt+dw= MIME-Version: 1.0 Received: by 10.182.141.68 with SMTP id rm4mr632866obb.23.1323448754895; Fri, 09 Dec 2011 08:39:14 -0800 (PST) Sender: saint.ack@gmail.com Received: by 10.182.225.5 with HTTP; Fri, 9 Dec 2011 08:39:14 -0800 (PST) In-Reply-To: References: Date: Fri, 9 Dec 2011 08:39:14 -0800 X-Google-Sender-Auth: sNk4IvKxklA07FTft4x-WBJdXzA Message-ID: Subject: Re: Question about hbase.regionserver.lease.period From: Stack To: user@hbase.apache.org Content-Type: text/plain; charset=ISO-8859-1 On Fri, Dec 9, 2011 at 7:31 AM, Lucian Iordache wrote: > Hi guys, > > I'm having some problems with some LeaseTimeoutExceptions when scanning in > HBase from a Mapper (I use some filters that probably match some values > that are at the end of the region, or at least not close enough to the > beginning of the region). > The size of my region is 2G ( *8* times the default, which is 256M ), and > the hbase.regionserver.lease.period and hbase.rpc.timeout are 240 seconds (*4 > * times the default, which is 60 seconds). > > I'm guessing that when increasing the region size we must increase the > timeouts in a liniar mode, but I would like to get your opinion about that. > So, should I increase the lease timeout *8 x default* in my case? > Sure. Try it. You do not say what your version is (Some fixes were made to lease timeout code in later hbase versions). St.Ack