Package org.apache.zookeeper.server
Class SnapshotFormatter
java.lang.Object
org.apache.zookeeper.server.SnapshotFormatter
Dump a snapshot file to stdout.
For JSON format, followed https://dev.yorhel.nl/ncdu/jsonfmt
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SnapshotFormatter
public SnapshotFormatter()
-
-
Method Details
-
main
USAGE: SnapshotFormatter snapshot_file or the ready-made script: zkSnapShotToolkit.sh- Throws:
Exception
-
run
- Throws:
IOException
-