knightliao / disconf

Distributed Configuration Management Platform(分布式配置管理平台)
http://disconf.readthedocs.io/
Apache License 2.0
5.56k stars 2.29k forks source link

无ZK信息 #274

Open yangguanghaozi opened 7 years ago

yangguanghaozi commented 7 years ago

无ZK信息

zk采用的是单机伪分布式,配置文件如下 tickTime=2000 dataDir=/home/Opt/hadoop/zookeeper-3.4.9/zookeeper0/data clientPort=8581 initLimit=5 syncLimit=2 server.0=localhost:2888:3888 server.1=localhost:2889:3889 server.2=localhost:2890:3890

tickTime=2000 dataDir=/home/Opt/hadoop/zookeeper-3.4.9/zookeeper1/data clientPort=8582 initLimit=5 syncLimit=2 server.0=localhost:2888:3888 server.1=localhost:2889:3889 server.2=localhost:2890:3890

tickTime=2000 dataDir=/home/Opt/hadoop/zookeeper-3.4.9/zookeeper2/data clientPort=8583 initLimit=5 syncLimit=2 server.0=localhost:2888:3888 server.1=localhost:2889:3889 server.2=localhost:2890:3890

disconf online-resources 配置文件 zoo.properties的内容为 hosts=127.0.0.1:8581,127.0.0.1:8582,127.0.0.1:8583 zookeeper_url_prefix=/disconf

三个服务都已经成功启动,但是界面点击“ZK部署情况”,显示“无ZK信息” 敢问是为什么,怎么解决呢?**_

Alexdevlin commented 7 years ago

请问解决了么??我也遇到了。。

yangguanghaozi commented 7 years ago

查看下zk的版本,是zk版本跟项目中用到的zk版本不一致造成的。

Alexdevlin commented 7 years ago

无zk信息 可能是client中你没有连接。。。

gaopu202 commented 6 years ago

@yangguanghaozi ,zookeeper的版本是3.4.8,disconf版本是最新的master版本,在webclient上zk部署情况还是显示无ZK信息,请问楼主是怎么解决的?

seven7ma commented 6 years ago

我也用的3.4.9,版本一致,但是 无zk信息