当前位置:网站首页>Flink集群配置
Flink集群配置
2022-07-05 04:38:00 【Xeon_CC】
安装flink1.14.4版本并解压
准备三台虚拟机:
192.168.1.244(master)
192.168.1.245
192.168.1.246
进入配置目录
cd /opt/flink-1.14.4/conf
编辑配置文件
vi flink-conf.yaml
配置项
如果在245的主机上配置,改改ip就行了,246以此类推。
jobmanager.rpc.address: 192.168.1.244
jobmanager.bind-host: 0.0.0.0
taskmanager.bind-host: 0.0.0.0
taskmanager.host: 192.168.1.244
taskmanager.numberOfTaskSlots: 4
rest.address: 0.0.0.0
编辑masters文件
vi masters
输入内容
这个配置项目在244、245、246的主机一律相同
192.168.1.244:8081
编辑workers文件
vi workers
输入内容
这个配置项在244、245、246主机也是一律相同
192.168.1.245
192.168.1.246
配置环境变量
# Flink
export FLINK_HOME=/opt/flink-1.14.4
export PATH=$PATH:$FLINK_HOME/bin
添加hadoop支持
进Flink官网
https://flink.apache.org/downloads.html#additional-components
找到Additional Components
点击Pre-bundled Hadoop 2.7.5 (asc, sha1)下载jar包
把下载好的jar包复制到flink安装目录的lib目录下即可。
边栏推荐
- Machine learning -- neural network
- OWASP top 10 vulnerability Guide (2021)
- QT Bluetooth: a class for searching Bluetooth devices -- qbluetooth devicediscoveryagent
- level17
- 官宣!第三届云原生编程挑战赛正式启动!
- MySQL in-depth learning - index creation and deletion, index design principles, index failure scenarios, query optimization, index push down ICP
- Function overloading
- [crampon game] MC tutorial - first day of survival
- 概率论与数理统计考试重点复习路线
- Serpentine matrix
猜你喜欢

Uncover the seven quirky brain circuits necessary for technology leaders
![[illusory engine UE] method to realize close-range rotation of operating objects under fuzzy background and pit recording](/img/11/b55f85ef9e1f22254218cb9083b823.png)
[illusory engine UE] method to realize close-range rotation of operating objects under fuzzy background and pit recording

Decryption function calculates "task state and lifecycle management" of asynchronous task capability
![[thingsboard] how to replace the homepage logo](/img/65/5296c26f975d79d65d36c2e76e47c1.png)
[thingsboard] how to replace the homepage logo

2022-2028 global and Chinese equipment as a Service Market Research Report

2022-2028 global and Chinese virtual data storage Market Research Report

mxnet导入报各种libcudart*.so、 libcuda*.so找不到

【虚幻引擎UE】实现背景模糊下近景旋转操作物体的方法及踩坑记录

官宣!第三届云原生编程挑战赛正式启动!

可观测|时序数据降采样在Prometheus实践复盘
随机推荐
Interface joint commissioning test script optimization V5.0 (end)
Is there a sudden failure on the line? How to make emergency diagnosis, troubleshooting and recovery
Convert Boolean to integer value PHP - Convert Boolean to integer value PHP
All in one 1413: determine base
Raki's notes on reading paper: soft gazetteers for low resource named entity recognition
Neural networks and deep learning Chapter 5: convolutional neural networks reading questions
Serpentine matrix
Hypothesis testing -- learning notes of Chapter 8 of probability theory and mathematical statistics
Network layer - forwarding (IP, ARP, DCHP, ICMP, network layer addressing, network address translation)
Qt蓝牙:搜索蓝牙设备的类——QBluetoothDeviceDiscoveryAgent
2022-2028 global and Chinese virtual data storage Market Research Report
You Li takes you to talk about C language 7 (define constants and macros)
首席信息官如何利用业务分析构建业务价值?
【FineBI】使用FineBI制作自定义地图过程
直播预告 | 容器服务 ACK 弹性预测最佳实践
[crampon programming] lintcode decoding Encyclopedia - 1100 strange printer
MySQL: view with subquery in the from clause limit
TPG x AIDU | AI leading talent recruitment plan in progress!
Mxnet imports various libcudarts * so、 libcuda*. So not found
TPG x AIDU|AI领军人才招募计划进行中!