2019年4月25日
摘要: 在Zookeeper的官网上有这么一句话:ZooKeeper is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and 阅读全文
posted @ 2019-04-25 11:03 itprobie-菜鸟程序员 阅读(385) 评论(0) 推荐(0)
摘要: 一、前言 在学习了Zookeeper相关的理论知识后,下面接着学习对Zookeeper的相关操作。 二、Zookeeper部署 Zookeeper的部署相对来说还是比较简单。 Zookeeper有三种运行形式:集群模式、单机模式、伪集群模式。 以下实验都是在单机模式下进行。 三、服务端 bin目录下 阅读全文
posted @ 2019-04-25 10:43 itprobie-菜鸟程序员 阅读(209) 评论(0) 推荐(0)
摘要: 转自:http://www.jianshu.com/p/f7037105db46 首先要确保机器已经安装好java环境,并且配置好环境变量 http://apache.fayea.com/zookeeper/current/ 下载后,解压缩到硬盘,我这里解压到了 D:\WorkSoftware\zo 阅读全文
posted @ 2019-04-25 09:59 itprobie-菜鸟程序员 阅读(615) 评论(0) 推荐(0)
摘要: zookeeper的默认配置文件为zookeeper/conf/zoo_sample.cfg,需要将其修改为zoo.cfg。其中各配置项的含义,解释如下: 1.tickTime:Client-Server通信心跳时间Zookeeper 服务器之间或客户端与服务器之间维持心跳的时间间隔,也就是每个 t 阅读全文
posted @ 2019-04-25 09:38 itprobie-菜鸟程序员 阅读(2691) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-04-25 00:05 itprobie-菜鸟程序员 阅读(3) 评论(0) 推荐(0)