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就没有问题了。

    原文作者:云胜886
    原文地址: https://www.jianshu.com/p/57ac51e9987f
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞