前提:本文中採用單機部署(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