Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
1. we can create znodes normally
2020-07-12 09:52:22,663 [myid:localhost:2181] - INFO [main-SendThread(localhost:2181):ClientCnxn$SendThread@1420] - Session establishment complete on server localhost/0:0:0:0:0:0:0:1:2181, session id = 0x10001a6779c0b5a, negotiated timeout = 30000WATCHER::WatchedEvent state:SyncConnected type:None path:null
[zk: localhost:2181(CONNECTED) 0] create /test5
Created /test5
[zk: localhost:2181(CONNECTED) 1] create /test6
Created /test6
[zk: localhost:2181(CONNECTED) 2]
2. However, "zkServer.sh status" doesn't work, after restarting the server, it works [root@zk-test001 bin]# ./zkServer.sh status /usr/bin/java ZooKeeper JMX enabled by default Using config: /data/software/apache-zookeeper-3.6.1-bin/bin/../conf/zoo.cfg Client port found: 2181. Client address: localhost. Error contacting service. It is probably not running.
GC info [root@zk-test001 conf]# jstat -gcutil 15206 200 S0 S1 E O M CCS YGC YGCT FGC FGCT GCT 18.49 0.00 92.26 47.75 95.61 90.82 280 22.735 2 5.363 28.098 18.49 0.00 92.26 47.75 95.61 90.82 280 22.735 2 5.363 28.098 18.49 0.00 92.26 47.75 95.61 90.82 280 22.735 2 5.363 28.098 18.49 0.00 92.26 47.75 95.61 90.82 280 22.735 2 5.363 28.098 18.49 0.00 92.26 47.75 95.61 90.82 280 22.735 2 5.363 28.098 18.49 0.00 92.26 47.75 95.61 90.82 280 22.735 2 5.363 28.098 18.49 0.00 92.26 47.75 95.61 90.82 280 22.735 2 5.363 28.098 18.49 0.00 92.26 47.75 95.61 90.82 280 22.735 2 5.363 28.098 18.49 0.00 92.26 47.75 95.61 90.82 280 22.735 2 5.363 28.098 18.49 0.00 92.26 47.75 95.61 90.82 280 22.735 2 5.363 28.098 18.49 0.00 92.26 47.75 95.61 90.82 280 22.735 2 5.363 28.098 18.49 0.00 92.26 47.75 95.61 90.82 280 22.735 2 5.363 28.098 18.49 0.00 92.26 47.75 95.61 90.82 280 22.735 2 5.363 28.098 18.49 0.00 92.26 47.75 95.61 90.82 280 22.735 2 5.363 28.098 18.49 0.00 92.26 47.75 95.61 90.82 280 22.735 2 5.363 28.098 18.49 0.00 92.26 47.75 95.61 90.82 280 22.735 2 5.363 28.098 18.49 0.00 92.26 47.75 95.61 90.82 280 22.735 2 5.363 28.098