首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 开源软件 >

Zookeeper(二)Solve the Problem on Redhat

2012-08-19 
Zookeeper(2)Solve the Problem on RedhatZookeeper(2)Solve the Problem on RedhatI happened to see the

Zookeeper(2)Solve the Problem on Redhat
Zookeeper(2)Solve the Problem on Redhat

I happened to see the log message on Zookeeper/conf/zookeeper.out file.

The 3 nodes are keeping try to syncnized other nodes. But they got the timeout message.

So I guess the problem is coming from the configuration files. I change them as follow:
ckTime=2000
initLimit=10
syncLimit=5
dataDir=/tmp/zookeeper/snapshot/d_1
clientPort=2181
server.1=localhost:2888:3888
server.2=localhost:2889:3889
server.3=localhost:2890:3890

The purpose for this change is to make the nodes know each other as localhost.

Then I use my win7 client to connect to the redhat server. It works fine.


references:


热点排行