1.启动nimbus,进程名为nimbus浏览器
nohup storm nimbus &ui
2.启动supervisor,进程名为supervisorspa
nohup storm supervisor &orm
3.启动ui,进程名为core进程
nohup storm ui &it
4.启动log集群
nohup storm logviewer &supervisor
5.上传topo
im
storm jar storm_topo.jar com.cjun.MainTopology myTopo项目
storm_topo.jar:项目的jar包
com.cjun.MainTopology:主类的路径
myTopo:此topo在storm ui中显示的名称
6.杀死storm进程
先用jps查看storm进程,而后用:kill -9 x,杀死对应的进程,x为对应进程的进程号。
7.storm/jstorm杀死topo
storm/jstorm kill count
count为topo的名字
8.查看storm集群情况,浏览器输入网址:http://nimbus:8080