Try SnapshotFormatter:

https://stackoverflow.com/questions/17894808/how-do-one-read-the-zookeeper-transaction-log

We might need to have a SnapshotToolkit tool to verify snapshot files similar 
to TxnLogToolkit.

Andor



> On 2019. Oct 30., at 23:48, rammohan ganapavarapu <[email protected]> 
> wrote:
> 
> There are cases where zk will fail to start with invalid snapshot if
> snapshot  file is corrupt or incomplete, i wanted to verify if the snapshot
> is not corrupt or complete before restore.
> 
> Ram
> 
> On Wed, Oct 30, 2019 at 2:25 PM Enrico Olivelli <[email protected]> wrote:
> 
>> Ram
>> 
>> Il mer 30 ott 2019, 21:23 rammohan ganapavarapu <[email protected]>
>> ha scritto:
>> 
>>> Hi,
>>> 
>>> I am trying to see is there any tool available to verify the zk snapshot
>>> file, any such thing exist?
>>> 
>> 
>> What do you mean with 'verify'? To inspect the contents?
>> 
>> Enrico
>> 
>>> 
>>> Thanks,
>>> Ram
>>> 
>> 

Reply via email to