KeeperErrorCode = Unimplemented for /test
生活随笔
收集整理的這篇文章主要介紹了
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的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Java实体类去掉属性值空格
- 下一篇: Java裁剪压缩PNG图片,透明背景色变