zookeeper在Dubbo中扮演了一个什么角色,起到了什么作用
答案:1 悬赏:60 手机版
解决时间 2021-03-02 05:12
- 提问者网友:孤凫
- 2021-03-01 16:09
zookeeper在Dubbo中扮演了一个什么角色,起到了什么作用
最佳答案
- 五星知识达人网友:何以畏孤独
- 2021-03-01 16:54
我了zookeeper-3.4.5.tar.gz版本的包。接下来把zookeeper-3.4.5.tar.gz解压到文件夹D:;zookeeper-3.4.5;中,
然后将zoo_sample.cfg改名为zoo.cfg。然后将配置文件zoo.cfg改成如下:
[html] view plain copy
The number of milliseconds of each tick
tickTime=2000
The number of ticks that the initial
synchronization phase can take
initLimit=10
The number of ticks that can pass between
sending a request and getting an acknowledgement
syncLimit=5
the directory where the snapshot is stored.
do not use /tmp for storage, /tmp here is just
example sakes.
dataDir=D:;;zookeeper-3.4.5;;data
dataLogDir=D:;;zookeeper-3.4.5;;log
the port at which the clients will connect
clientPort=2181
然后就可以启动了。
DUBBO的管理平台DUBBO-ADMIN的部署
dubbo-admin.war可在网上百度去,但是我了好几个war包,发布上去服务启动都报错,这个时候大概是我们系统的JDK和编译
dubbo-admin.war的JDK版本不同导致的了。所以我之后直接了dubbo-master的源代码,然后自己编译了一个war包,这样就不会存
在启动报错的问题了。
然后将zoo_sample.cfg改名为zoo.cfg。然后将配置文件zoo.cfg改成如下:
[html] view plain copy
The number of milliseconds of each tick
tickTime=2000
The number of ticks that the initial
synchronization phase can take
initLimit=10
The number of ticks that can pass between
sending a request and getting an acknowledgement
syncLimit=5
the directory where the snapshot is stored.
do not use /tmp for storage, /tmp here is just
example sakes.
dataDir=D:;;zookeeper-3.4.5;;data
dataLogDir=D:;;zookeeper-3.4.5;;log
the port at which the clients will connect
clientPort=2181
然后就可以启动了。
DUBBO的管理平台DUBBO-ADMIN的部署
dubbo-admin.war可在网上百度去,但是我了好几个war包,发布上去服务启动都报错,这个时候大概是我们系统的JDK和编译
dubbo-admin.war的JDK版本不同导致的了。所以我之后直接了dubbo-master的源代码,然后自己编译了一个war包,这样就不会存
在启动报错的问题了。
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯