码迷,mamicode.com
首页 > 其他好文 > 详细

zookeeper 链接报错 KeeperErrorCode = NodeExists for

时间:2019-11-17 20:58:26      阅读:122      评论:0      收藏:0      [点我收藏+]

标签:null   session   syn   exist   报错   article   ntc   code   sts   

zookeeper  链接报错

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) 

 要将原来的删除掉 dataDir路径下的version-2文件夹,再重启

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

zookeeper 链接报错 KeeperErrorCode = NodeExists for

标签:null   session   syn   exist   报错   article   ntc   code   sts   

原文地址:https://www.cnblogs.com/Jomini/p/11877817.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!