You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Ameya Kantikar <am...@groupon.com> on 2013/07/01 05:21:55 UTC

Re: Zookeeper session timeout

+1 Otis about GC tuning.

Also, If you have separate ZK cluster, note that max zk session timeout you
can have is 20 times tickTime setting on ZK cluster. HBase is client to ZK,
and any negotiated session timeout must be 2 and 20 times ZK session tick
time settings (by default).

Hope this helps.


On Sat, Jun 29, 2013 at 1:38 PM, Otis Gospodnetic <
otis.gospodnetic@gmail.com> wrote:

> Hi,
>
> Give G1 GC a try if you are on a recent JVM.  We didn't have issues
> with ZK, but we gave G1 a try recently and look what happened:
> http://blog.sematext.com/2013/06/24/g1-cms-java-garbage-collector/ -
> maybe that will help you with ZK, too.
>
> Otis
> --
> HBase Performance Monitoring -- http://sematext.com/spm
>
>
>
> On Sat, Jun 29, 2013 at 2:03 AM,  <Yu...@dell.com> wrote:
> > Hi All,
> >
> > We hit an issue that HBase server keeps shutting down. From log we can
> see that sometimes we got garbage collection taking too long issue. Also,
> we saw Zookeeper session timeout exception in the log. We tried to increase
> the zookeeper session time out in hbase-site.xml but it didn't help. We
> also tried to increase the heap size in hbase-env.sh but it didn't help
> either.
> >
> > Our set up was single node on VM with 4G memory and 1 processor.
> >
> > We're using hbase 0.94.1.
> >
> > Interesting thing is that with the same configuration on a different VM,
> we don't get this issue...
> >
> > Any ideas?
> >
> > Thanks,
> >
> > YuLing
>