===== 安装 ===== * 官网下载storm,解压到/usr/local/storm * vim /usr/local/storm/conf/storm.yaml storm.zookeeper.servers: - "master" - "slave1" - "slave2" storm.zookeeper.root: "/storm" nimbus.host: "master" storm.local.dir: "%JSTORM_HOME%/data" * 分发到集群的每台机器 ===== 启动storm集群 ===== * 启动zookeeper * 启动nimbus: storm nimbus >/dev/null 2>&1 & * 启动supervisor:storm supervisor >/dev/null 2>&1 & * 启动UI: storm ui >/dev/null 2>&1 & # 默认端口8080 nimbus能起来,supervisor 起不来 解决方法: * 清空${storm.local.dir}目录