当前位置:网站首页>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
边栏推荐
猜你喜欢
IDEA修改注释字体
Flink 部署和提交job
Carefully summarize thirteen suggestions to help you create more suitable MySQL indexes
【 】 today in history: on July 31, "brains in vats" the birth of the participant;The father of wi-fi was born;USB 3.1 standard
You need to know the TCP wave four times
Summary of JVM interview questions (continuously updated)
MYSQL经典面试题
[Data analysis] Based on matlab GUI student achievement management system [including Matlab source code 1981]
微信小程序之小程序页面语法
解决IDEA默认情况下新建文件时,右击,new,没有XML文件的问题
随机推荐
Matlab/ArcGIS processing GPM global monthly precipitation data
设备树的树形结构到底是怎样体现的?
网关gateway跨域
pycaret source code analysis: download dataset\Lib\site-packages\pycaret\datasets.py
机器学习初学者可以学哪些实战项目?
Fat interface in JQESAP system
Euler system (euleros): upgrade Mysql
[AMEX] LGBM Optuna American Express Credit Card Fraud Contest kaggle
WebApi 打个Attribute 统一处理异常
Inheritance Considerations
Basic implementation of vector
Classes and Objects: Medium
软考高级系统架构设计师系列之:系统开发基础知识
Unity3D study notes 10 - texture array
Summary of JVM interview questions (continuously updated)
Exam preparation plan
Blueprint: Yang Hui's Triangular Arrangement
JQESAP系统里的胖接口Fat interface
设计消息队列存储消息数据的MySQL表格
Automated machine learning pycaret: PyCaret Basic Auto Classification LightGBM