当前位置:网站首页>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
边栏推荐
- 南方科技大学:Xiaoying Tang | AADG:视网膜图像分割领域泛化的自动增强
- SC7A20 (Silan Micro-Accelerometer) Example
- STK8321 I2C (Shengjia-accelerometer) example
- In 2022, the latest eight Chongqing construction members (electrical construction workers) simulation question bank and answers
- Js replication
- Likou Binary Tree
- 声称AI存在意识,谷歌工程师遭解雇:违反保密协议
- 机器学习初学者可以学哪些实战项目?
- Web3.0: Building an NFT Market (1)
- An open source and easy-to-use flowchart drawing tool drawio
猜你喜欢
现代企业架构框架1
Redis五种数据类型简介
Kyoto University: Masaki Waga | Dynamic Masking for Reinforcement Learning in Black Box Environments
【 】 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
【密码学/密码分析】基于TMTO的密码分析方法
cmake入门学习笔记
What practical projects can machine learning beginners learn?
ECCV2022 Workshop | Multi-Object Tracking and Segmentation in Complex Environments
Kyoto University:Masaki Waga | 黑箱环境中强化学习的动态屏蔽
RTL8762DK PWM(七)
随机推荐
Xinao Learning Plan The Road to Informatics Competition (2022.07.31)
VPGNet
【 】 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
leetcode: 1562. Find latest grouping of size M [simulation + endpoint record + range merge]
值传递还是引用传递(By Value or By Reference)
GDB source code analysis series of articles five: dynamic library delay breakpoint implementation mechanism
Modern Enterprise Architecture Framework 1
机器学习初学者可以学哪些实战项目?
Super like the keyboard made from zero, IT people love it
RTL8762DK RTC (5)
WindowInsetsControllerCompat简单使用
Automated machine learning pycaret: PyCaret Basic Auto Classification LightGBM
RTL8762DK UART(二)
Blueprint: Yang Hui's Triangular Arrangement
设计消息队列存储消息数据的MySQL表格
how to edit the table of contents of an epub ebook
SC7A20 (Silan Micro-Accelerometer) Example
Inheritance and friend, static member relationship
Fat interface in JQESAP system
Southern University of Science and Technology: Xiaoying Tang | AADG: Automatic Enhancement for Generalization in the Field of Retinal Image Segmentation