zookeeper 链接报错 KeeperErrorCode = NodeExists for

Posted jomini

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了zookeeper 链接报错 KeeperErrorCode = NodeExists for相关的知识,希望对你有一定的参考价值。

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的主要内容,如果未能解决你的问题,请参考以下文章

window 链接hbase 报错Connection refused: no further information: DESKTOP-BUT9QSG/192.168.2.109:16020

连接zookeeper报错

zookeeper报错问题

踩坑 ZooKeeper Issue 2325

zookeeper启动报错(数据目录权限不对)

vritulbox中linux安装zookeeper报错: