当前位置:网站首页>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 

边栏推荐
- /usr/sbin/vmware-authdlauncher: error while loading shared libraries: libssl.so.1.0.2*解决办法
- Unity3D学习笔记10——纹理数组
- Introduction to the five data types of Redis
- Euler system (euleros): upgrade Mysql
- Notes on how to use zeno
- Summary of JVM interview questions (continuously updated)
- C string array reverse
- RTL8762DK RTC (5)
- RTL8762DK UART (two)
- leetcode: 1562. Find latest grouping of size M [simulation + endpoint record + range merge]
猜你喜欢

pycaret source code analysis: download dataset\Lib\site-packages\pycaret\datasets.py

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

Matlab/ArcGIS processing GPM global monthly precipitation data

WeChat applet page syntax

MYSQL主从复制

MYSQL Keyword Explain Analysis

Automated machine learning pycaret: PyCaret Basic Auto Classification LightGBM

MYSQL logical architecture

cmake入门学习笔记

Application of integrated stepper motor in UAV automatic airport
随机推荐
数据中台建设(七):数据资产管理
Force buckle 2326, 197
STK8321 I2C (Shengjia-accelerometer) example
WebApi 打个Attribute 统一处理异常
七月集训(第31天) —— 状态压缩
leetcode: 1562. Find latest grouping of size M [simulation + endpoint record + range merge]
JS时间戳的意义是什么?知道sql会考虑加时间戳,JS的时间戳用于什么场景?
MYSQL Index Analysis
WeChat applet page syntax
OSF一分钟了解敏捷开发模式
The principle of virtual inheritance
What is the meaning of JS timestamp?Know SQL will consider to add a timestamp, JS timestamp for the scene?
WAASAP WebClient UI页面标签的决定逻辑介绍
IDEA无法识别module(module右下角没有蓝色小方块)
Unity3D学习笔记10——纹理数组
Google engineer fired for claiming AI awareness: breach of nondisclosure agreement
MYSQL two-phase commit
Inheritance and friend, static member relationship
device node结构体转换成platform_device结构体
OSF understands the agile development model in one minute