当前位置:网站首页>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目录下即可。
边栏推荐
- How to remove installed elpa package
- [phantom engine UE] the difference between running and starting, and the analysis of common problems
- 机器学习 --- 决策树
- [phantom engine UE] realize the animation production of mapping tripod deployment
- Serpentine matrix
- TPG x AIDU|AI领军人才招募计划进行中!
- Neural networks and deep learning Chapter 2: machine learning overview reading questions
- [crampon programming] lintcode decoding Encyclopedia - 1100 strange printer
- Aperçu en direct | Services de conteneurs ACK flexible Prediction Best Practices
- 揭秘技术 Leader 必备的七大清奇脑回路
猜你喜欢

Live broadcast preview | container service ack elasticity prediction best practice

函數(易錯)

介绍汉明距离及计算示例
![[goweb development] Introduction to authentication modes based on cookies, sessions and JWT tokens](/img/20/5c5550e6dabc76702f0e7ce3bef068.jpg)
[goweb development] Introduction to authentication modes based on cookies, sessions and JWT tokens

线上故障突突突?如何紧急诊断、排查与恢复

可观测|时序数据降采样在Prometheus实践复盘

Network layer - forwarding (IP, ARP, DCHP, ICMP, network layer addressing, network address translation)
![[finebi] the process of making custom maps using finebi](/img/3a/d638dbac6a26c37087ec9550c35e63.png)
[finebi] the process of making custom maps using finebi

3 minutes learn to create Google account and email detailed tutorial!

【虚幻引擎UE】运行和启动的区别,常见问题分析
随机推荐
The principle of attention mechanism and its application in seq2seq (bahadanau attention)
OWASP top 10 vulnerability Guide (2021)
NetSetMan pro (IP fast switching tool) official Chinese version v5.1.0 | computer IP switching software download
Chapter 6 text processing tools for shell programming (awk)
Power management bus (pmbus)
Solution of circular dependency
[crampon game] MC tutorial - first day of survival
[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)
Aperçu en direct | Services de conteneurs ACK flexible Prediction Best Practices
How to remove installed elpa package
可观测|时序数据降采样在Prometheus实践复盘
You Li takes you to talk about C language 7 (define constants and macros)
[crampon programming] lintcode decoding Encyclopedia - 872 termination process
MySQL in-depth learning - index creation and deletion, index design principles, index failure scenarios, query optimization, index push down ICP
防护电路中的元器件
3 minutes learn to create Google account and email detailed tutorial!
History of web page requests
函数(基本:参数,返回值)
TPG x AIDU|AI领军人才招募计划进行中!
【虚幻引擎UE】运行和启动的区别,常见问题分析