当前位置:网站首页>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
边栏推荐
猜你喜欢
RTL8762DK WDG (six)
ECCV2022 Workshop | Multi-Object Tracking and Segmentation in Complex Environments
Matlab/ArcGIS processing GPM global monthly precipitation data
What practical projects can machine learning beginners learn?
TCP协议详解
Basic implementation of vector
leetcode: 1562. Find latest grouping of size M [simulation + endpoint record + range merge]
Team of Professor Chen Jianyu of Tsinghua University | Contact Safety Reinforcement Learning Framework Based on Contact-rich Robot Operation
ROS2 series of knowledge (4): understand the concept of [service]
机器学习应该如何入门?
随机推荐
元宇宙改变人类工作模式的四种方式
ECCV2022 Workshop | 复杂环境中的多目标跟踪和分割
Matlab/Arcgis processing nc data
/usr/sbin/vmware-authdlauncher: error while loading shared libraries: libssl.so.1.0.2*解决办法
你需要知道的 TCP 四次挥手
sqlserver无法远程连接
两院院士直言:不要迷信院士
500 miles
C string array reverse
gateway gateway cross domain
How to get started with YOLO?How to implement your own training set?
device node结构体转换成platform_device结构体
IDEA修改注释字体
Blueprint: Yang Hui's Triangular Arrangement
【元胞自动机】基于matlab界面聚合元胞自动机模拟【含Matlab源码 2004期】
MYSQL two-phase commit
Automated machine learning pycaret: PyCaret Basic Auto Classification LightGBM
MYSQL主从复制
Rasa 3.x 学习系列- Rasa - Issues 4898 学习笔记
Js replication