You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Lucian Iordache <lu...@gmail.com> on 2011/12/09 16:31:04 UTC

Question about hbase.regionserver.lease.period

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?

Regards,
Lucian

Re: Question about hbase.regionserver.lease.period

Posted by Lucian Iordache <lu...@gmail.com>.
Hello, I'm using 0.90.4

On Fri, Dec 9, 2011 at 6:39 PM, Stack <st...@duboce.net> wrote:

> On Fri, Dec 9, 2011 at 7:31 AM, Lucian Iordache
> <lu...@gmail.com> 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
>



-- 
Numai bine,
Lucian

Re: Question about hbase.regionserver.lease.period

Posted by Stack <st...@duboce.net>.
On Fri, Dec 9, 2011 at 7:31 AM, Lucian Iordache
<lu...@gmail.com> 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