当前位置:网站首页>Flink 部署和提交job
Flink 部署和提交job
2022-08-01 01:09:00 【技匠三石弟弟】
一、Flink部署和页面提交
- 安装
#解压flink安装包到/opt/module/
[[email protected] software]$ tar -zxvf flink-1.10.1-bin-scala_2.12.tgz -C /opt/module/
- 启动
[[email protected] bin]$ ./start-cluster.sh
- 查看页面

- 本地打包

【注意】这里在install时候,发生一个错误。最终核查的问题所在就是我的工程所属目录、maven目录皆在中文的路径下导致。所以需要将中文目录更改为英文才可以,要不会在compile的时候报错误。 - 上传jar包到系统

- 书写参数

- 提交任务

- 服务器开启端口,传输数据

- 查看结果输出

二、服务器提交 - 命令行启动程序
[[email protected] bin]$ ./flink run -c com.yili.StreamWordCount -p 2 /opt/module/flink-1.10.1/project/FlinkTutorial-1.0-SNAPSHOT-jar-with-dependencies.jar --host localhost --port 7777


- 命令行查看任务列表
[[email protected] bin]$ ./flink list

- 命令行停止任务
[[email protected] bin]$ ./flink cancel d4c209b30c2ff36850d8c24c0b305eca

- 命令行查看已运行和已停止等所有任务
[[email protected] bin]$ ./flink list -a


边栏推荐
猜你喜欢

cmake入门学习笔记

leetcode:1562. 查找大小为 M 的最新分组【模拟 + 端点记录 + 范围合并】
![ROS2 series of knowledge (4): understand the concept of [service]](/img/14/8de92a89d9c4b6476ac37408bc7788.png)
ROS2 series of knowledge (4): understand the concept of [service]

STK8321 I2C(昇佳-加速度传感器)示例
![[Microservice] Distributed Transaction Solution - Seata](/img/a8/fc6c24e4d42dfb635bad786cc02164.png)
[Microservice] Distributed Transaction Solution - Seata

Detailed explanation of TCP protocol

pycaret源码分析:下载数据集\Lib\site-packages\pycaret\datasets.py

Kyoto University:Masaki Waga | 黑箱环境中强化学习的动态屏蔽

Team of Professor Chen Jianyu of Tsinghua University | Contact Safety Reinforcement Learning Framework Based on Contact-rich Robot Operation

Introduction to machine learning how to?
随机推荐
高维高斯分布基础
【密码学/密码分析】基于TMTO的密码分析方法
虹科分享|如何用移动目标防御技术防范未知因素
sqlserver无法远程连接
/usr/sbin/vmware-authdlauncher: error while loading shared libraries: libssl.so.1.0.2*解决办法
网关gateway跨域
vector的基本实现
WeChat applet page syntax
WindowInsetsControllerCompat简单使用
一体化步进电机在无人机自动机场的应用
Super like the keyboard made from zero, IT people love it
WAASAP WebClient UI页面标签的决定逻辑介绍
两院院士直言:不要迷信院士
TCP协议详解
OSF understands the agile development model in one minute
cmake入门学习笔记
The principle of virtual inheritance
C字符串数组反转
RTL8762DK PWM(七)
MYSQL经典面试题