当前位置:网站首页>Flink deploys and submits jobs
Flink deploys and submits jobs
2022-08-01 01:19:00 【Craftsman Sanshi brother】
1. Flink deployment and page submission
- Install
#Unzip the flink installation package to /opt/module/[[email protected] software]$ tar -zxvf flink-1.10.1-bin-scala_2.12.span>tgz -C /opt/module/- Start
[[email protected] bin]$ ./start-cluster.sh - View page

- Local packaging

[Note] install herewhen an error occurs.The problem in the final verification is that the directory to which my project belongs and the maven directory are all in the Chinese path.Therefore, it is necessary to change the Chinese directory to English, otherwise an error will be reported when compiling. - Upload the jar package to the system

- Writing parameters

- Submit task

- The server opens the port and transmits data

- View result output

Second,Server Submission - Command Line Launcher
[[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 

- Command line view task list
[[email protected] bin]$ ./flink list 
- Command line stop task
[[email protected] bin]$ ./flink cancel d4c209b30c2ff36850d8c24c0b305eca 
- Command line to view all tasks including running and stopped
[[email protected] bin]$ ./flink list -a 

边栏推荐
- Unity3D study notes 10 - texture array
- Data Middle Office Construction (VII): Data Asset Management
- RTL8762DK UART (two)
- High dimensional Gaussian distribution basics
- Exam preparation plan
- Inheritance Considerations
- 数据中台建设(七):数据资产管理
- C字符串数组反转
- how to edit the table of contents of an epub ebook
- leetcode: 1648. Color ball with decreasing sales value [Boundary find by two points]
猜你喜欢

STK8321 I2C(昇佳-加速度传感器)示例

元宇宙改变人类工作模式的四种方式

ROS2系列知识(4): 理解【服务】的概念

【历史上的今天】7 月 31 日:“缸中之脑”的提出者诞生;Wi-Fi 之父出生;USB 3.1 标准发布

LeetCode每日一练 —— 环形链表问题(面试四连问)

MYSQL two-phase commit

【密码学/密码分析】基于TMTO的密码分析方法

两院院士直言:不要迷信院士

Google "Cloud Developer Quick Checklist"; Tsinghua 3D Human Body Dataset; SenseTime "Universal Vision Framework" open class; Web3 Minimalist Getting Started Guide; Free Books for Efficient Deep Learni

彻底关闭Chrome浏览器更新及右上角的更新提示
随机推荐
Qlib quantitative source analysis: qlib/qlib/contrib/model/GBDT py
MYSQL query interception optimization analysis
leetcode:1648. 销售价值减少的颜色球【二分找边界】
You need to know the TCP wave four times
RTL8762DK UART(二)
JQESAP系统里的胖接口Fat interface
Key Points Estimation and Point Instance
MYSQL-批量插入数据
软考高级系统架构设计师系列之:系统开发基础知识
七月集训(第31天) —— 状态压缩
Automated machine learning pycaret: PyCaret Basic Auto Classification LightGBM
IDEA无法识别module(module右下角没有蓝色小方块)
C字符串数组反转
Nmap Operation Manual - Full Version
设备树的树形结构到底是怎样体现的?
Rasa 3.x Learning Series - Using Lookup Tables to Improve Entity Extraction
TCP协议详解
Southern University of Science and Technology: Xiaoying Tang | AADG: Automatic Enhancement for Generalization in the Field of Retinal Image Segmentation
The principle of virtual inheritance
STK8321 I2C (Shengjia-accelerometer) example