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

Switch to Threaded View
Zookeeper >> mail # user >> force snapshot


Copy link to this message
-
RE: force snapshot
Your understanding is correct. snapCount is a system property with default value is 100,000. You can also set it in the zookeeper configuration file (conf/zoo.cfg) by using the parameter "snapCount".

I don't understand exactly what you mean by adhoc snapshot. From my understanding, if you want to take a snapshot early/more frequently reduce the value of snapCount. Also, you can use SnapshotFormatter to get the data in snapshot in plain text and analyze it.

Dayal  
________________________________________
From: S C [[EMAIL PROTECTED]]
Sent: Wednesday, January 09, 2013 1:00 PM
To: [EMAIL PROTECTED]
Subject: RE: force snapshot

Dayal,
I believe you pointed the threshold. Thank you. Is there a way to take an adhoc snapshot for troubleshooting / analysis of any issues?
Upon looking for snapCount, I came across "zookeeper.snapCount" a system property with default value of 100,000.  Is my understanding correct?

Thanks,SC

> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: RE: force snapshot
> Date: Tue, 8 Jan 2013 14:35:02 +0000
>
> Change the value of snapCount in conf/zoo.cfg
>
> The default is 10,000.
> ________________________________________
> From: challa asf [[EMAIL PROTECTED]]
> Sent: Monday, January 07, 2013 5:20 PM
> To: [EMAIL PROTECTED]
> Subject: force snapshot
>
> I am new to Zookeeper. Couple of questions.
> What is the threshold before ZK takes a snapshot?Is there a way to force ZK to snapshot for troubleshooting or for any Operational reasons?
> Thanks,Challa
>