当前位置:网站首页>Installation and deployment of Flink
Installation and deployment of Flink
2020-11-09 17:46:00 【Irving the procedural ape】
One . Flink The download
Installation package download address , Select the corresponding Hadoop Of Flink Version download
Flink There are three deployment modes , Namely Local、Standalone Cluster and Yarn Cluster.
Two . Local Pattern
about Local Mode ,JobManager and TaskManager Will share one JVM To complete Workload. If you want to validate a simple application ,Local Patterns are the most convenient . Most of the practical applications use Standalone perhaps Yarn Cluster, and local Mode just unzip the installation package and start it up (./bin/start-local.sh) that will do , There's no demonstration here .
3、 ... and . Standalone HA Pattern
Standalone Pattern as the name suggests , It is scheduled to execute on the local cluster , Independent of external scheduling mechanisms such as YARN, Generally, it needs to be configured as HA, prevent Jobmanager All of a sudden , The whole cluster or task execution fails . So let's talk about that Standalone HA Mode building and installation
When Flink Program runtime , If jobmanager collapse , Then the whole program will fail . In order to prevent jobmanager A single point of failure , With the help of zookeeper The coordination mechanism of , Can achieve jobmanager Of HA To configure —-1 Lord (leader) More from (standby). there HA Configuration only involves standalone Pattern ,yarn The mode will not be considered for the moment .
In this case, plan Jobmanager:hadoop01,hadoop02( One active, One standby);Taskmanager:hadoop02,hadoop03;zookeeper colony
1. Cluster deployment planning
The name of the node | master | worker | zookeeper |
hadoop01 | master | worker | zookeeper |
hadoop02 | master | worker | zookeeper |
hadoop03 | woker | zookeeper |
2. decompression
[hadoop@hadoop01 apps]$ tar -zxvf flink-1.7.2-bin-scala_2.11.tgz -C ./
[hadoop@hadoop01 apps]$ ls
azkaban flink-1.7.2 flink-1.7.2-bin-scala_2.11.tgz flume-1.8.0 hadoop-2.7.4 jq kafka_2.11-0.11 zkdata zookeeper-3.4.10 zookeeper.out
3. Modify the configuration file
To configure masters file
This file is used to specify the master node and its web Access port , For clusters Jobmanager,vi masters, add to master:8081
[hadoop@hadoop01 conf]$ vim masters hadoop01:8081
hadoop02:8081
To configure slaves file , This file is used to specify the slave node , For clusters taskManager. Add the following
[hadoop@hadoop01 conf]$ vim slaveshadoop01hadoop02hadoop03
The configuration file flink-conf.yaml
版权声明
本文为[Irving the procedural ape]所创,转载请带上原文链接,感谢
边栏推荐
- [God level operation] analyze the Ninja code with the traditional Chinese thoughts of Confucius and Laozi!
- 拉线位移编码器的选择,需要精量电子的指导
- 浅谈API网关(API Gateway)如何承载API经济生态链
- Super low price cloud server is coming
- flask图书CURD小项目
- Almost finished all the list titles, I found these things...
- What is the essence of cloud database? Explore the core value of Huawei cloud database
- 明年起旧版本安卓设备将无法浏览大约30%的网页
- 会展云技术解读 | 面对突发事故,APP 如何做好崩溃分析与性能监控?
- Git + -- Code hosting in the history of version management
猜你喜欢
Ultra simple integration of Huawei system integrity testing, complete equipment security protection
自定义室内地图在线工具
MIT6.824分布式系统课程 翻译&学习笔记(三)GFS
What is the essence of cloud database? Explore the core value of Huawei cloud database
校准服务的六个轴心
云数据库的本质是什么?探究华为云数据库的核心价值
RBAC of kubernetes authority management (1)
函数计算进阶-IP查询工具开发
andorid实例-简单登录布局
Visualization construction of CIM platform
随机推荐
Exhibition cloud technology interpretation | in the face of emergencies, how does app do a good job in crash analysis and performance monitoring?
GPS对时系统(网络对时仪器)应用电子政务系统
Almost finished all the list titles, I found these things...
Defects in singleton mode of DCL and other implementations of singleton
【涂鸦物联网足迹】涂鸦云平台接口说明
拉线位移编码器的选择,需要精量电子的指导
Rookie gospel, 28 books step by step to make you a big bull! (a copy of learning syllabus attached)
Gesture switch background, let live with goods more immersive
How the API gateway carries the API economic ecological chain
Gesture switch background, let live with goods more immersive
MathType中如何编辑求和公式
Git + -- Code hosting in the history of version management
Revealing the logic of moving path selection in Summoner Canyon?
Centos7下基于Pseudo-Distributed的Hadoop环境搭建
标梵IPFS矿机app软件开发软件 IPFSApp开发方法详解
Building Hadoop environment based on pseudo distributed under centos7
零基础小白python入门——深入Python中的文件操作
Explain git in detail
揭秘在召唤师峡谷中移动路径选择逻辑?
Abbyy finereader 15 adds editing page layout function