前提:本文中采用单机部署(Single Server Deployed)做为尝试 安装部署官方文档html
Zookeeper依赖:java
安装测试步骤:python
- 下载项目安装包 wget http://apache.org/dist/zookeeper/zookeeper-3.5.2-alpha/zookeeper-3.5.2-alpha.tar.gz
- 解压缩
- conf 文件夹下,cp zoo_sample.cfg zoo.cfg
- bin 目录下,./zkServer.sh start
注意事项:apache
- It's critical that you run Zookeeper under supervision, since Zookeeper is fail-fast and will exit the process if it encounters any error case. See here for more details.
- It's critical that you set up a cron to compact Zookeeper's data and transaction logs. The Zookeeper daemon does not do this on its own, and if you don't set up a cron, Zookeeper will quickly run out of disk space. See here for more details.
参考:storm文档python2.7