Zookeeper link error keepererrorcode = nodeexists for

zookeeper    Link error

CONNECTING
Receive watched event:WatchedEvent state:SyncConnected type:None path:null
ZooKeeper session established.
org.apache.zookeeper.KeeperException$NodeExistsException: KeeperErrorCode = NodeExists for /test_node
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:119)
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
	at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:783)
	at ZKTest.doSomething(ZKTest.java:27)
	at ZKTest.process(ZKTest.java:21)
	at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:522)
	at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:498) 

  To delete the original   Restart the version-2 folder under the dataDir path

https://blog.csdn.net/agony_sun/article/details/77480109

Similar Posts: