KeeperErrorCode = Unimplemented for /test

使用Curator时报错,原因是因为版本问题
zookeeper版本:zookeeper-3.4.8
cuartor版本:3.2.0
看Curator官网的声明:
地址:http://curator.apache.org/
The are currently two released versions of Curator, 2.x.x and 3.x.x:

Curator 2.x.x - compatible with both ZooKeeper 3.4.x and ZooKeeper 3.5.x
Curator 3.x.x - compatible only with ZooKeeper 3.5.x and includes support for new features such as dynamic reconfiguration, etc.
版本不匹配的问题,我这里是使用的curator版本过高,使用2.xx就没有问题了。

你可能感兴趣的:(KeeperErrorCode = Unimplemented for /test)