zookeeper 的安装配置(for mac)

本文档详细介绍了如何在Mac上安装并配置Zookeeper。首先从Apache官网下载Zookeeper,将其重命名为zookeeper。接着配置Zookeeper,包括将zoo_sample.cfg文件改名为zoo.cfg,并对核心参数进行设置。然后,进入bin目录使用zkServer.sh脚本启动、停止或检查Zookeeper的状态。
摘要由CSDN通过智能技术生成

zookeeper 的安装(for mac)

通过官网http://zookeeper.apache.org/下载
重命名为zookeeper

zookeeper的配置

1.进入安装路径conf目录,将zoo_sample.cfg修改为zoo.cfg,并对核心参数配置

# The number of milliseconds of each tick
# zk服务器的心跳时间
tickTime=2000
# The number of ticks that the initial 
# synchronization phase can take
#投票选举新Leader的初始化时间
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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值