当前位置:网站首页>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目录下即可。
边栏推荐
- 【虚幻引擎UE】运行和启动的区别,常见问题分析
- Private collection project practice sharing [Yugong series] February 2022 U3D full stack class 006 unity toolbar
- Cookie learning diary 1
- 计组笔记(1)——校验码、原补码乘除计算、浮点数计算
- What are the building energy-saving software
- The difference between bundle, chunk and module
- The remainder operation is a hash function
- [thingsboard] how to replace the homepage logo
- Sword finger offer 07 Rebuild binary tree
- Rk3399 platform development series explanation (network debugging) 7.29 summary of network performance tools
猜你喜欢
【thingsboard】替换首页logo的方法
CUDA Programming atomic operation atomicadd reports error err:msb3721, return code 1
Qt蓝牙:搜索蓝牙设备的类——QBluetoothDeviceDiscoveryAgent
Sword finger offer 04 Search in two-dimensional array
QT Bluetooth: a class for searching Bluetooth devices -- qbluetooth devicediscoveryagent
Observable time series data downsampling practice in Prometheus
2022-2028 global and Chinese virtual data storage Market Research Report
假设检验——《概率论与数理统计》第八章学习笔记
2022-2028 global and Chinese equipment as a Service Market Research Report
【UNIAPP】系统热更新实现思路
随机推荐
Fonction (sujette aux erreurs)
Construction d'un Cluster redis sous Windows
Uncover the seven quirky brain circuits necessary for technology leaders
You Li takes you to talk about C language 7 (define constants and macros)
Machine learning -- neural network
MacBook installation postgresql+postgis
Pointer function (basic)
Official announcement! The third cloud native programming challenge is officially launched!
Neural networks and deep learning Chapter 6: Circular neural networks reading questions
2022-2028 global and Chinese equipment as a Service Market Research Report
Raki's notes on reading paper: soft gazetteers for low resource named entity recognition
Managed service network: application architecture evolution in the cloud native Era
【FineBI】使用FineBI制作自定义地图过程
【thingsboard】替换首页logo的方法
Serpentine matrix
线上故障突突突?如何紧急诊断、排查与恢复
User behavior collection platform
All in one 1413: determine base
MySQL: view with subquery in the from clause limit
[moteur illusoire UE] il ne faut que six étapes pour réaliser le déploiement du flux de pixels ue5 et éviter les détours! (4.26 et 4.27 principes similaires)