当前位置:网站首页>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】實現UE5像素流部署僅需六步操作少走彎路!(4.26和4.27原理類似)
- A solution to the problem that variables cannot change dynamically when debugging in keil5
- OWASP top 10 vulnerability Guide (2021)
- 2022-2028 global and Chinese virtual data storage Market Research Report
- Data security -- 14 -- Analysis of privacy protection governance
- 介绍汉明距离及计算示例
- Interview related high-frequency algorithm test site 3
- Machine learning -- neural network
- The 22nd Spring Festival Gala, an immersive stage for the yuan universe to shine into reality
- Managed service network: application architecture evolution in the cloud native Era
猜你喜欢
首席信息官如何利用业务分析构建业务价值?
The remainder operation is a hash function
概率论与数理统计考试重点复习路线
How can CIOs use business analysis to build business value?
[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)
Advanced length of redis -- deletion strategy, master-slave replication, sentinel mode
File upload bypass summary (upload labs 21 customs clearance tutorial attached)
TPG x AIDU|AI领军人才招募计划进行中!
[uniapp] system hot update implementation ideas
【UNIAPP】系统热更新实现思路
随机推荐
flutter 对象和列表
This is an age of uncertainty
Rk3399 platform development series explanation (network debugging) 7.29 summary of network performance tools
[phantom engine UE] package error appears! Solutions to findpin errors
揭秘技术 Leader 必备的七大清奇脑回路
File upload bypass summary (upload labs 21 customs clearance tutorial attached)
A solution to the problem that variables cannot change dynamically when debugging in keil5
Reading and visualization of DICOM, MHD and raw files in medical imaging
函数(基本:参数,返回值)
Machine learning -- neural network
【虚幻引擎UE】实现测绘三脚架展开动画制作
How to get the first few pieces of data of each group gracefully
如何进行「小步重构」?
CSDN body auto generate directory
Sword finger offer 07 Rebuild binary tree
Sequelize. JS and hasmany - belongsto vs hasmany in serialize js
Construction d'un Cluster redis sous Windows
[illusory engine UE] method to realize close-range rotation of operating objects under fuzzy background and pit recording
Aperçu en direct | Services de conteneurs ACK flexible Prediction Best Practices
Function template