Zookeeper session expiration

2017-12-04 Thread Anthony Shaya
Hi, I have a question about zookeeper sessions (within a cluster). I've noticed in our production servers that some of our clients lose connection to zookeeper then our client application comes down (and we automatically bring it back and it reconnects to zk just fine). It seems to be a sessio

Re: Zookeeper session expiration

2017-12-04 Thread Shawn Heisey
On 12/4/2017 8:22 AM, Anthony Shaya wrote: My question is related to how session expiration works, I noticed on many of the client machines the times across these machines were all off (by anywhere from 1 minute to 20 minutes - which was resolved after discovery - haven't verified this complet

RE: Zookeeper session expiration

2017-12-04 Thread Anthony Shaya
Thanks Shawn, should I message the developer mailing list for a more definitive answer? Thanks again for the reply. -Original Message- From: Shawn Heisey [mailto:apa...@elyograg.org] Sent: Monday, December 4, 2017 2:49 PM To: user@zookeeper.apache.org Subject: Re: Zookeeper session

Re: Zookeeper session expiration

2017-12-04 Thread Shawn Heisey
On 12/4/2017 12:51 PM, Anthony Shaya wrote: Thanks Shawn, should I message the developer mailing list for a more definitive answer? The ZK dev list is for discussion around the development of ZK itself, NOT for development of software that uses ZK. For the latter kind of development, you wa

Re: Zookeeper session expiration

2017-12-04 Thread Abraham Fine
gt; To: user@zookeeper.apache.org > Subject: Re: Zookeeper session expiration > > On 12/4/2017 8:22 AM, Anthony Shaya wrote: > > My question is related to how session expiration works, I noticed on many > > of the client machines the times across these machines were all off (by

Re: Zookeeper session expiration

2017-12-04 Thread Jordan Zimmerman
Thanks Shawn, should I message the developer mailing list for a more >> definitive answer? >> >> Thanks again for the reply. >> >> -Original Message- >> From: Shawn Heisey [mailto:apa...@elyograg.org] >> Sent: Monday, December 4, 2017 2:49 PM >>

Re: Zookeeper session expiration

2017-12-06 Thread Patrick Hunt
2017, at 11:51, Anthony Shaya wrote: > >> Thanks Shawn, should I message the developer mailing list for a more > >> definitive answer? > >> > >> Thanks again for the reply. > >> > >> -Original Message- > >> From: Shawn Heisey [

RE: Zookeeper session expiration

2017-12-07 Thread Kathryn Hogg
apache.org] Sent: Wednesday, December 06, 2017 5:18 PM To: UserZooKeeper Subject: Re: Zookeeper session expiration {External email message: This email is from an external source. Please exercise caution prior to opening attachments, clicking on links, or providing any sensitive information.} W

Re: Zookeeper session expiration

2017-12-07 Thread Jordan Zimmerman
ednesday, December 06, 2017 5:18 PM > To: UserZooKeeper > Subject: Re: Zookeeper session expiration > > {External email message: This email is from an external source. Please > exercise caution prior to opening attachments, clicking on links, or > providing any sensitive informat

RE: Zookeeper session expiration

2017-12-07 Thread Anthony Shaya
, December 7, 2017 8:48 AM To: user@zookeeper.apache.org Subject: Re: Zookeeper session expiration System.nanoTime() is not affected by clock changes. Really everyone - this is simply not an issue in ZooKeeper. Jordan Zimmerman > On Dec 7, 2017, at 7:43 AM, Kathryn Hogg wr

Re: Zookeeper session expiration

2017-12-07 Thread Patrick Hunt
we use ntp with adjtime to avoid clocks going > backwards or making large jumps forward. > > > > -Original Message- > > From: Patrick Hunt [mailto:ph...@apache.org] > > Sent: Wednesday, December 06, 2017 5:18 PM > > To: UserZooKeeper > > Subject:

Re: Zookeeper session expiration

2020-07-13 Thread Srikant Kalani
I am facing a similar issue in my application. Zookeeper Server Version 3.5.5 I implemented SSL ( server to server ) in quorum communication. After that ZK client frequently receives session timeouts. When I turned off SSL then application is behaving normally and there are no timeouts. Any t

Re: Zookeeper session expiration

2020-07-20 Thread Szalay-Bekő Máté
Hello, can you reproduce the problem with the latest 3.5 version? I mean 3.5.8. There were a few bugfixes recently that can help. e.g.: https://issues.apache.org/jira/browse/ZOOKEEPER-3756 Also you can try to increase some timeout parameters, see https://zookeeper.apache.org/doc/r3.5.8/zookeeperAd

Re: Zookeeper session expiration

2020-07-20 Thread shrikant kalani
Currently our production is running with 3.5.5 and it will take time to move to 3.6.1. When I dig more into this it seems to be related to Netty protocol and it’s limitation. The system is stable when I fail back to NIO and without SSL. As soon as I turned on Netty we are seeing sessions getting

Code to Simulate ZooKeeper Session Expiration does not Work

2016-04-13 Thread Matteo Casadei - Diennea
Hi everybody, I have an issue on testing ZooKeeper's session expiration. Basically, I am using the chunk of code below to make a "target" ZooKeeper handle expire: ... final ZooKeeper zk = new ZooKeeper(zkAddress , zkTimeout, new Watcher() { @Override pub

Re: Code to Simulate ZooKeeper Session Expiration does not Work

2016-04-13 Thread Flavio Junqueira
Are you sure serviceZKSessionId is valid? -Flavio > On 13 Apr 2016, at 08:39, Matteo Casadei - Diennea > wrote: > > Hi everybody, > > I have an issue on testing ZooKeeper's session expiration. > > Basically, I am using the chunk of code below to make a "target" > ZooKeeper handle expire: >

R: Code to Simulate ZooKeeper Session Expiration does not Work

2016-04-13 Thread Matteo Casadei - Diennea
y sort. Any help is going to be appreciated. Thanks again, Matteo -Messaggio originale- Da: Flavio Junqueira [mailto:f...@apache.org] Inviato: mercoledì 13 aprile 2016 10:20 A: user@zookeeper.apache.org Oggetto: Re: Code to Simulate ZooKeeper Session Expiration does not Work Are you

Re: Code to Simulate ZooKeeper Session Expiration does not Work

2016-04-13 Thread Matteo Casadei - Diennea
aggio originale- Da: Matteo Casadei - Diennea [mailto:matteo.casa...@diennea.com] Inviato: mercoledì 13 aprile 2016 11:09 A: user@zookeeper.apache.org Oggetto: R: Code to Simulate ZooKeeper Session Expiration does not Work Hi Flavio, thanks for replying. Yes, pretty much sure serviceZKSess