Flink常用指令及端口

本文档详细介绍了Apache Flink的日常操作,包括如何启动和关闭Flink集群,查看运行任务,以及管理任务的提交和取消。通过执行特定的shell脚本,如`start-cluster.sh`来启动集群,`stop-cluster.sh`关闭集群,`flinklist`查看当前任务,`flinklist --all`显示所有任务,`flinkcancel`停止指定任务,以及`flinkrun`提交任务。此外,还提供了JPS进程和监控端口的信息。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

启动flink

./start-cluster.sh
关闭flink
bin/stop-cluster.sh
查看当前运行的任务
bin/flink list
查看所有的任务
bin/flink list --all
停止当前任务
bin/flink cancel 471ede242bd2fa22d32ed147a025e5d2
提交任务
bin/flink run -c com.offcn.wordCount.wordCountJava
/root/flinkJar/FlinkDeno-1.0-SNAPSHOT-jar-with-dependencies.jar
/opt/module/flink-1.7.0/flink/data/wordcount.txt
/opt/module/flink-1.7.0/flink/wordcount

=启动的jps进程=

StandaloneSessionClusterEntrypoint
TaskManagerRunner

web端口:
监控端口:http://hadoop101:8081/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值