当前位置:网站首页>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目录下即可。
边栏推荐
- 介绍汉明距离及计算示例
- Construction d'un Cluster redis sous Windows
- Hexadecimal to octal
- Raki's notes on reading paper: soft gazetteers for low resource named entity recognition
- 电源管理总线 (PMBus)
- Practice | mobile end practice
- Uncover the seven quirky brain circuits necessary for technology leaders
- 如何进行「小步重构」?
- A survey of automatic speech recognition (ASR) research
- 托管式服务网络:云原生时代的应用体系架构进化
猜你喜欢
Interview related high-frequency algorithm test site 3
计组笔记(1)——校验码、原补码乘除计算、浮点数计算
自动语音识别(ASR)研究综述
3 minutes learn to create Google account and email detailed tutorial!
Discussion on the dimension of confrontation subspace
windows下Redis-cluster集群搭建
【虚幻引擎UE】实现背景模糊下近景旋转操作物体的方法及踩坑记录
【FineBI】使用FineBI制作自定义地图过程
线上故障突突突?如何紧急诊断、排查与恢复
MySQL in-depth learning - index creation and deletion, index design principles, index failure scenarios, query optimization, index push down ICP
随机推荐
Introduction to RT thread kernel (4) -- clock management
[crampon game] MC tutorial - first day of survival
The 22nd Spring Festival Gala, an immersive stage for the yuan universe to shine into reality
蛇形矩阵
How should programmers learn mathematics
Key review route of probability theory and mathematical statistics examination
Sequence diagram of single sign on Certification Center
Label exchange experiment
How to carry out "small step reconstruction"?
Sword finger offer 04 Search in two-dimensional array
CSDN正文自动生成目录
Ffmepg usage guide
Decimal to hexadecimal
Leetcode hot topic Hot 100 day 33: "subset"
自动语音识别(ASR)研究综述
可观测|时序数据降采样在Prometheus实践复盘
取余操作是一个哈希函数
2022-2028 global and Chinese video coding and transcoding Market Research Report
机器学习 --- 决策树
Debug insights