Guest User

Untitled

a guest
Jun 23rd, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. $ zkCli -server 127.0.0.1:2181
  2. Connecting to 127.0.0.1:2181
  3. Welcome to ZooKeeper!
  4. JLine support is enabled
  5. [zk: 127.0.0.1:2181(CONNECTING) 0]
  6. WATCHER::
  7.  
  8. WatchedEvent state:SyncConnected type:None path:null
  9.  
  10. [zk: 127.0.0.1:2181(CONNECTED) 0] ls /
  11.  
  12. WATCHER::
  13.  
  14. WatchedEvent state:Disconnected type:None path:null
  15. Exception in thread "main" org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /
  16. at org.apache.zookeeper.KeeperException.create(KeeperException.java:90)
  17. at org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
  18. at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1243)
  19. at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1271)
  20. at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:700)
  21. at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:581)
  22. at org.apache.zookeeper.ZooKeeperMain.executeLine(ZooKeeperMain.java:353)
  23. at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:311)
  24. at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:270)
Add Comment
Please, Sign In to add comment