安装集群:需要安装java和python
1:安装zookeeper集群
2:下载storm解压,修改配置文件conf/storm.yaml,添加以下内容:
storm.zookeeper.servers:
- "10.99.32.17"
- "10.99.32.18"
- "10.99.32.19"
storm.local.dir: "/var/storm"
nimbus.seeds: ["10.99.32.17"]
supervisor.slots.ports:
- 6700
- 6701
- 6702
- 6703
3:在主节点上启动两个内容:bin/storm nimbus和bin/storm ui
在工作节点上启动bin/storm supervisor
4:查看storm ui:访问主节点 hostname:8080
原创文章,作者:carmelaweatherly,如若转载,请注明出处:https://blog.ytso.com/190480.html