1、下载storm 2.5.0
2、需要安装python3,并且设置python3的环境变量
3、修改storm.yaml配置
- storm.zookeeper.servers:
- - "node4"
- # - "server2"
- #
- # nimbus.seeds: ["host1", "host2", "host3"]
- # nimbus.seeds: ["node4"]
- storm.local.dir: "/usr/local/apache-storm/apache-storm-2.5.0/data"
- supervisor.slots.ports:
- - 6700
- - 6701
- - 6702
- - 6703
- ui.port: 8080
4、启动zookeeper
5、启动./storm nimbus
6、启动./storm supervisor
7、启动./storm ui
8、登录http://ip:8080
9、成功界面