[ https://issues.apache.org/jira/browse/ZOOKEEPER-3583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
maoling updated ZOOKEEPER-3583: ------------------------------- Description: ➜ bin ./zkCli.sh SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/data/software/zookeeper/zookeeper-standalone-test/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/data/software/zookeeper/zookeeper-standalone-test/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. log4j:WARN No such property [maxFileSize] in org.apache.log4j.DailyRollingFileAppender. SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] Connecting to localhost:2181 Welcome to ZooKeeper! JLine support is enabled WATCHER:: WatchedEvent state:SyncConnected type:None path:null [zk: localhost:2181(CONNECTED) 0] [zk: localhost:2181(CONNECTED) 0] [zk: localhost:2181(CONNECTED) 0] get /test afdsfadsfasdfasdf [zk: localhost:2181(CONNECTED) 1] WATCHER:: WatchedEvent state:Disconnected type:None path:null WATCHER:: WatchedEvent state:SyncConnected type:None path:null {code:java} [zk: 127.0.0.1:2180(CONNECTED) 15] stat /test cZxid = 0xfa3c001b7ce4 ctime = Tue Oct 15 14:07:03 CST 2019 mZxid = 0xfa3c001b7d32 mtime = Tue Oct 15 16:52:28 CST 2019 pZxid = 0xfa3c001b7d33 cversion = 11 dataVersion = 42 aclVersion = 0 ephemeralOwner = 0x0 dataLength = 6 numChildren = 11 {code} was: {code:java} [zk: 127.0.0.1:2180(CONNECTED) 15] stat /test cZxid = 0xfa3c001b7ce4 ctime = Tue Oct 15 14:07:03 CST 2019 mZxid = 0xfa3c001b7d32 mtime = Tue Oct 15 16:52:28 CST 2019 pZxid = 0xfa3c001b7d33 cversion = 11 dataVersion = 42 aclVersion = 0 ephemeralOwner = 0x0 dataLength = 6 numChildren = 11 {code} > stat -d to show more details:node type, ttl time info > ----------------------------------------------------- > > Key: ZOOKEEPER-3583 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3583 > Project: ZooKeeper > Issue Type: Improvement > Components: other, scripts > Reporter: maoling > Assignee: maoling > Priority: Minor > > ➜ bin ./zkCli.sh > SLF4J: Class path contains multiple SLF4J bindings. > SLF4J: Found binding in > [jar:file:/data/software/zookeeper/zookeeper-standalone-test/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class] > SLF4J: Found binding in > [jar:file:/data/software/zookeeper/zookeeper-standalone-test/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class] > SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an > explanation. > log4j:WARN No such property [maxFileSize] in > org.apache.log4j.DailyRollingFileAppender. > SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] > Connecting to localhost:2181 > Welcome to ZooKeeper! > JLine support is enabled > WATCHER:: > WatchedEvent state:SyncConnected type:None path:null > [zk: localhost:2181(CONNECTED) 0] > [zk: localhost:2181(CONNECTED) 0] > [zk: localhost:2181(CONNECTED) 0] get /test > afdsfadsfasdfasdf > [zk: localhost:2181(CONNECTED) 1] > WATCHER:: > WatchedEvent state:Disconnected type:None path:null > WATCHER:: > WatchedEvent state:SyncConnected type:None path:null > {code:java} > [zk: 127.0.0.1:2180(CONNECTED) 15] stat /test > cZxid = 0xfa3c001b7ce4 > ctime = Tue Oct 15 14:07:03 CST 2019 > mZxid = 0xfa3c001b7d32 > mtime = Tue Oct 15 16:52:28 CST 2019 > pZxid = 0xfa3c001b7d33 > cversion = 11 > dataVersion = 42 > aclVersion = 0 > ephemeralOwner = 0x0 > dataLength = 6 > numChildren = 11 > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)