2019独角兽企业重金招聘Python工程师标准>>>
- 查看集群中正在运行的所有拓扑及其状态 #storm list
2.查看storm进程两种方式:(1)#ps -ef |grep storm (2)、#jps
3.对于storm主节点,需要启动两个主程序Nimbus、supervisor。其中 storm主节点上启动程序Nimbus两种方式,:(1)#nohup bin/storm nimbus & (2)# bin/storm nimbus >/dev/null 2>&1 & ;
启动supervisor的两种方式:(1)#nohup bin/storm supervisor& (2)# bin/storm supervisor >/dev/null 2>&1 & ;
4、在从节点上都需要启动supervisor服务,其中在一个从节点中启动ui程序,ui启动命令两种方式:
(1)#nohup bin/storm ui& (2)# bin/storm ui>/dev/null 2>&1 & ;
5.启动完毕后,可以通过http://ip:8080/ 查看集群的worker资源使用情况、Topologies的运行状态等信息。
6.查杀worker两种方式:(1)、通过地址进入后台,在对应的topolog中直接点击kill按钮进行杀除 (2).通过命令#storm kill $topologyName
7.查看storm环境下的配置文件# vim conf/storm.yaml