当前位置:网站首页>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目录下即可。
边栏推荐
- NetSetMan pro (IP fast switching tool) official Chinese version v5.1.0 | computer IP switching software download
- 美国5G Open RAN再遭重大挫败,抗衡中国5G技术的图谋已告失败
- SQL set operation
- Machine learning -- neural network
- Observable time series data downsampling practice in Prometheus
- windows下Redis-cluster集群搭建
- Construction d'un Cluster redis sous Windows
- Raki's notes on reading paper: soft gazetteers for low resource named entity recognition
- 介绍汉明距离及计算示例
- The remainder operation is a hash function
猜你喜欢

Moco is not suitable for target detection? MsrA proposes object level comparative learning target detection pre training method SOCO! Performance SOTA! (NeurIPS 2021)...

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

Label exchange experiment

Pointer function (basic)

The remainder operation is a hash function

【虛幻引擎UE】實現UE5像素流部署僅需六步操作少走彎路!(4.26和4.27原理類似)

American 5g open ran suffered another major setback, and its attempt to counter China's 5g technology has failed

Hypothesis testing -- learning notes of Chapter 8 of probability theory and mathematical statistics

直播预告 | 容器服务 ACK 弹性预测最佳实践

What are the building energy-saving software
随机推荐
介绍汉明距离及计算示例
【虚幻引擎UE】实现背景模糊下近景旋转操作物体的方法及踩坑记录
Variable category (automatic, static, register, external)
Solution of circular dependency
2022-2028 global and Chinese video coding and transcoding Market Research Report
概率论与数理统计考试重点复习路线
2022-2028 global and Chinese FPGA prototype system Market Research Report
MySQL: view with subquery in the from clause limit
Web开发人员应该养成的10个编程习惯
假设检验——《概率论与数理统计》第八章学习笔记
Live broadcast preview | container service ack elasticity prediction best practice
直播预告 | 容器服务 ACK 弹性预测最佳实践
10 programming habits that web developers should develop
Cookie learning diary 1
Sword finger offer 04 Search in two-dimensional array
WeNet:面向工业落地的E2E语音识别工具
TPG x AIDU | AI leading talent recruitment plan in progress!
Reading and visualization of DICOM, MHD and raw files in medical imaging
flutter 对象和列表
程序员应该怎么学数学