Zookeeper Heartbeat procedure

2017-05-17 Thread Tharindu Kumara
Hi, I want to clarify few concepts in Zookeeper. 1. What is the the timeout between sending a PING messages from LEADER to FOLLOWER? Is it equal to half of tickTime? 2. What is reconnection timeout with respect to clients? Is it equal to (session expiration time / total zookeeper

Re: Future works and research areas of ZooKeeper

2017-03-08 Thread Tharindu Kumara
Hi Amith, Try searching zab(zookeeper atomic broadcast) protocol in google scholar. A number of research papers are there that contains a future works section. For a start you can go through them and identify about future directions Thanks Tharindu On Thu, Mar 9, 2017 at 9:11 AM, Amith

Re: Sessions Expire due to Network partitioning in Zookeeper

2017-03-06 Thread Tharindu Kumara
t;>> zookeeper_client: 2017-03-03 > 09:57:12,221:23078(0x7f9467786700):ZOO_INFO@check_events@1728: initiated > connection to server [172.25.83.201:2181] > >>> zookeeper_client: 2017-03-03 > 09:57:12,223:23078(0x7f9467786700):ZOO_ERROR@handle_socket_error_msg@1764: >

Re: Sessions Expire due to Network partitioning in Zookeeper

2017-03-05 Thread Tharindu Kumara
Hi Rakesh, Any updates on this? Is this a bug or an expected situation? Thanks On Fri, Mar 3, 2017 at 10:49 AM, Tharindu Kumara <zonik.hatkum...@gmail.com> wrote: > Hi Rakesh, > > I have made a small mistake in the above email. > For client's session timeout I have used 2

Re: Sessions Expire due to Network partitioning in Zookeeper

2017-03-02 Thread Tharindu Kumara
; session timeout. Now, the client has 17 secs (45 secs - 28 secs) time > period to re-establish a connection with server A, right? Could you please > check whether the client is connecting to A during this period? > > Rakesh > > > > On Thu, Mar 2, 2017 at 6:58 PM, Tharindu Ku

Re: Sessions Expire due to Network partitioning in Zookeeper

2017-03-02 Thread Tharindu Kumara
s. > "Client session timed out, have not heard from server in " > > C3 might have first attempted to reconnect to B and then A. Also, need to > check how much time C3 taken to detect connection failure from server C. > > Could you please share the zk client log to di

Re: Sessions Expire due to Network partitioning in Zookeeper

2017-03-01 Thread Tharindu Kumara
l me the connection host string passed to > this client. Does it contains all three servers info "A:clientport, > B:clientport, C:clientport" ? > > 3) Please check all three servers and client C3 logs to see any > inconsistencies or exceptions. > > 4) ZooKeeper v

Sessions Expire due to Network partitioning in Zookeeper

2017-03-01 Thread Tharindu Kumara
​Recently, carried out a test to to find the behavior of clients when a client is partitioned from the ensemble. Here I used a ensemble of 3 zookeeper servers called A, B and C. And quorum was set up like below. A - Follower B - Leader C - Follower​ A <---> B <---> C \/ And 3

How to use logback

2017-02-19 Thread Tharindu Kumara
​​Hi, Zookeeper documentation says that it is possible to use logback as the logging framework. I would like to know how to configure logback in zookeeper? -- ​Regards! Tharindu