storm 提交包自带的jar任务示例

本文介绍了如何在Linux CentOS 7.6上启动Apache Storm 1.2.3,并详细阐述了将示例程序提交到Storm集群的步骤,提供了相关教程链接。

storm 程序启动

详见: linux centos 7.6 安装 Apache Storm1.2.3
https://blog.csdn.net/wei198621/article/details/115449855

启动示例程序过程

[root@storm51 storm]# echo $STORM_HOME
/usr/local/storm
[root@storm51 storm]# ll
total 92
drwxr-xr-x.  2 root root    139 Apr  5  2021 bin
drwxr-xr-x.  2 root root    108 Oct 29 01:03 conf
drwxrwxrwx. 19  503 games  4096 May  4  2019 examples
drwxr-xr-x. 23 root root   4096 Apr  5  2021 external
drwxrwxrwx.  2  503 games     6 May  8  2019 extlib
drwxrwxrwx.  2  503 games     6 May  8  2019 extlib-daemon
... ... 
[root@storm51 storm]# 

提交下这任务到storm中去

storm jar /usr/local/app/storm/examples/storm-starter/storm-starter-topologies-1.0.0.jar storm.starter.StatefulTopology T1

这篇文章有示例
https://blog.csdn.net/wei198621/article/details/115437750

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值