Storm学习笔记——安装配置

1、安装一个zookeeper集群

2、上传storm的安装包,解压

3、修改配置文件conf/storm.yaml

#所使用的zookeeper集群主机
storm.zookeeper.servers:
- "weekend01"
- "weekend02"
- "weekend03"

#nimbus所在的主机名
nimbus.host: "weekend01"

#可以不用配置

supervisor.slots.ports:
-6701
-6702
-6703
-6704
-6705

将storm拷贝(scp -r)到其他主机。
启动storm
在bin/下:
在nimbus主机上
nohup ./storm nimbus 1>/dev/null 2>&1 &
nohup ./storm ui 1>/dev/null 2>&1 &
可以在浏览器中查看http://192.168.230.135:8080/index.html

在supervisor主机上
nohup ./storm supervisor 1>/dev/null 2>&1 &

原文地址:https://www.cnblogs.com/DarrenChan/p/6612439.html