首页 > 其他分享 >strom

strom

时间:2023-04-20 20:34:21浏览次数:34  
标签:logviewer supervisor master storm slave2 strom HOME

解压storm包

配置storm环境变量

#STORM_HOME
export STORM_HOME=/usr/local/src/storm
export PATH=$PATH:$STORM_HOME/bin

配置storm.yaml

 storm.zookeeper.servers:
      - "master"
      - "slave1"
      - "slave2"
 nimbus.seeds: ["master", "slave1", "slave2"]

 storm.local.dir: "/usr/local/src/storm/data"

 supervisor.slots.ports:
     - 6700
     - 6701
     - 6702
     - 6703

启动storm

master和slave1启动nimbus,supervisor,ui,logviewer

slave2启动supervisor,logviewer

启动命令

storm nimbus &
storm supervisor &
storm ui &
storm logviewer &

标签:logviewer,supervisor,master,storm,slave2,strom,HOME
From: https://www.cnblogs.com/gudeman/p/17338226.html

相关文章