Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Zookeeper >> mail # user >> leader election length

Botond Hejj 2011-12-12, 17:06
Camille Fournier 2011-12-12, 17:35
Botond Hejj 2011-12-13, 10:55
Flavio Junqueira 2011-12-13, 13:02
Botond Hejj 2011-12-14, 14:44
ankitoshniwal 2013-06-13, 20:35
Copy link to this message
Re: leader election length
If your snapshot size wasn't big.  You can increase the snapshot frequency
(Java prop: zookeeper.snapCount)

This may help a bit in reducing the size of txnlog, so it take less time
for the server to load the data on leader election.

However, taking more frequent snapshot cause the server to use more disk
bandwidth during normal operation. It may affect request latency if both
txnlog and snapshot shares the same disk.

Thawan Kooburat

On 6/13/13 1:35 PM, "ankitoshniwal" <[EMAIL PROTECTED]> wrote:

>We are running into a similar issues. Is there recommended path to take in
>this scenario. We are running version 3.4.4 of zookeeper and the txlog on
>disk is close to 5 - 6 Gb. Currently the leader election sometimes takes
>to 50 seconds.
>Any help is greatly appreciated.
>View this message in context:
>Sent from the zookeeper-user mailing list archive at Nabble.com.