storm/jstorm 相关命令

本文详细介绍了如何使用Storm搭建并管理集群,包括启动关键组件、上传拓扑、查看集群状态及基本操作。

1.启动nimbus,进程名为nimbus

nohup storm nimbus &

2.启动supervisor,进程名为supervisor

nohup storm supervisor &

3.启动ui,进程名为core

nohup storm ui &

4.启动log

nohup storm logviewer &

5.上传topo

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


转载于:https://my.oschina.net/cjun/blog/364162

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值