zookeeper-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "maoling (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-3344) write a new script:zkSnapShotToolkit.sh to encapsulate SnapshotFormatter and doc the usage
Date Fri, 07 Jun 2019 13:54:00 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-3344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16858665#comment-16858665
] 

maoling commented on ZOOKEEPER-3344:
------------------------------------

*$ ./zkSnapShotToolkit.cmd -json E:/tmp/zookeeper/version-2/snapshot.0*

2019-06-07 21:46:40,931 [myid:] - INFO  [main:SnapStream@63] - zookeeper.snapshot.compression.method=CHECKED

2019-06-07 21:46:40,972 [myid:] - INFO  [main:WatchManagerFactory@44] - Using org.apache.zookeeper.server.watch.WatchManager
as watch manager

2019-06-07 21:46:40,973 [myid:] - INFO  [main:WatchManagerFactory@44] - Using org.apache.zookeeper.server.watch.WatchManager
as watch manager

[1,0,\{"progname":"SnapshotFormatter.java","progver":"0.01","timestamp":1559915200978},[\{"name":"\/","asize":0,"dsize":0,"dev":0,"ino":1001},[\{"name":"zookeeper","asize":0,"dsize":0,"dev":0,"ino":1002},\{"name":"config","asize":0,"dsize":0,"dev":0,"ino":1003},\{"name":"quota","asize":0,"dsize":0,"dev":0,"ino":1004}]]]

*$ ./zkSnapShotToolkit.cmd -json E:/tmp/zookeeper/version-2/snapshot.3*

2019-06-07 21:46:49,779 [myid:] - INFO  [main:SnapStream@63] - zookeeper.snapshot.compression.method=CHECKED

2019-06-07 21:46:49,821 [myid:] - INFO  [main:WatchManagerFactory@44] - Using org.apache.zookeeper.server.watch.WatchManager
as watch manager

2019-06-07 21:46:49,821 [myid:] - INFO  [main:WatchManagerFactory@44] - Using org.apache.zookeeper.server.watch.WatchManager
as watch manager

[1,0,\{"progname":"SnapshotFormatter.java","progver":"0.01","timestamp":1559915209821},[\{"name":"\/","asize":0,"dsize":0,"dev":0,"ino":1001},[\{"name":"zookeeper","asize":0,"dsize":0,"dev":0,"ino":1002},\{"name":"config","asize":0,"dsize":0,"dev":0,"ino":1003},\{"name":"quota","asize":0,"dsize":0,"dev":0,"ino":1004}],\{"name":"test","asize":6,"dsize":6,"dev":0,"ino":1005}]]

> write a new script:zkSnapShotToolkit.sh to encapsulate SnapshotFormatter and doc the
usage
> ------------------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-3344
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3344
>             Project: ZooKeeper
>          Issue Type: New Feature
>          Components: scripts
>    Affects Versions: 3.6.0
>            Reporter: maoling
>            Assignee: maoling
>            Priority: Major
>
> write a new script:*zkSnapShotToolkit.sh* to encapsulate *SnapshotFormatter.java*
> just like*: zkTxnLogToolkit.sh* for the users' convenience.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message