Storm部署文档
Storm部署文檔
?
系統(tǒng)拓撲
| 角色 | ? |
| Nimbus (Master) | 10.0.0.201 |
| Supervisor(worker) | 10.0.0.202 |
| Supervisor(worker) | 10.0.0.203 |
| ? | ? |
?
前提條件
安裝jdk
安裝zookeeper集群
?
安裝Storm
下載,解壓0.9.4版本
默認已采用netty傳輸。
?
配置storm.yaml
yaml格式,注意空格的使用。
啟動nimbus
bin/storm nimbus&
bin/storm ui &
bin/storm logviewer &
bin/storm dprc &
?
?
啟動SuperVisor
啟動之前,一定要刪掉storm-local目錄。不然不會出現(xiàn)在集群中。
?
bin/storm supervisor&
bin/storm logviewer&
訪問
測試
bin/storm jar ./examples/storm-starter/storm-starter-topologies-0.9.4.jarstorm.starter.WordCountTopology test
總結(jié)
- 上一篇: MySQL Sharding DB (基
- 下一篇: 申请Let's Encrypt的证书