hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oc tsdb <oc.t...@gmail.com>
Subject Re: how to reduce hbase-regionserver connection retries to zookeeper
Date Tue, 29 Jul 2014 15:53:14 GMT
Hi,

Thanks for your response.

We are using Hbase 0.98.2.

You mean we need to add the following two properties in hbase-site.xml?
zookeeper.recovery.retry = 1
zookeeper.recovery.retry.intervalmill=1000

Thanks
oc.tsdb



On Tue, Jul 29, 2014 at 8:09 PM, Ted Yu <yuzhihong@gmail.com> wrote:

> You can adjust values for the following config parameters (values below are
> only for illustration):
>
>     config.setInt("zookeeper.recovery.retry", 1);
>     config.setInt("zookeeper.recovery.retry.intervalmill", 1000);
>
> What hbase release are you using ?
>
> Cheers
>
>
> On Tue, Jul 29, 2014 at 3:48 AM, oc tsdb <oc.tsdb@gmail.com> wrote:
>
> > Hi,
> >
> > if the namenode (or zookeeper) is down for some reason,
> > hbase-regionserver(on datanode) keep retrying to connect to zookeeper
> > continuously for long time.
> >
> > We tried by setting "hbase.client.retries.number" to 1 in hbase-site.xml,
> > But no effect.
> >
> > Can someone please let us know, hbase configuration to stop
> > hbase-regionserver in 5 sec, in case, if zookeeper is not running.
> >
> > Thanks
> > oc.tsdb
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message