当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- 【云小课】版本管理发展史之Git+——代码托管
- The selection of wire displacement encoder needs the guidance of precise electronics
- How to edit summation formula in MathType
- Toolkit Pro助力界面开发:缩短项目开发周期,快速实现具有现代功能区样式的GUI
- 第三阶段 Day19 用户回显 封装Cookie 商品远程调用 购物车模块 CRUD操作
- How about Tencent cloud amd cloud server?
- 会展云技术解读 | 面对突发事故,APP 如何做好崩溃分析与性能监控?
- 融云集成之避坑指南-Android推送篇
- From next year, about 30% of the web pages will be inaccessible to older Android devices
- 磁阻式随机存储器MRAM基本原理
猜你喜欢
RabbitMQ安装
Which industries are suitable for enterprises to develop wechat applet?
DCL单例模式中的缺陷及单例模式的其他实现
GPS对时系统(网络对时仪器)应用电子政务系统
Gesture switch background, let live with goods more immersive
Six axes of calibration service
What is the essence of cloud database? Explore the core value of Huawei cloud database
【面试经验】BAT程序员面试200人,常见最常问的面试问题做出解析
超简单集成华为系统完整性检测,搞定设备安全防护
Rookie gospel, 28 books step by step to make you a big bull! (a copy of learning syllabus attached)
随机推荐
高性能库DPDK精简理解
浮点数之间的等值判断
菜鸟福音,28本书籍循序渐进让你成为大牛!(附学习大纲一份)
超简单集成华为系统完整性检测,搞定设备安全防护
DCL单例模式中的缺陷及单例模式的其他实现
In the third stage, day19 users echo packaged cookie products and remotely call Shopping Cart module crud operation
Abbyy finereader 15 adds editing page layout function
第三阶段 Day20 购物车模块实现 添加拦截器 添加用户权限校检 实现订单模块
浅谈API网关(API Gateway)如何承载API经济生态链
GPS对时系统(网络对时仪器)应用电子政务系统
手势切换背景,让直播带货更加身临其境
百亿级数据分表后怎么分页查询?
零基础小白python入门——深入Python中的文件操作
详解Git
Git + -- Code hosting in the history of version management
磁阻式随机存储器MRAM基本原理
第三阶段 Day19 用户回显 封装Cookie 商品远程调用 购物车模块 CRUD操作
QML Repeater
分享用MathType编辑字母与数学公式的技巧
andorid实例-简单登录布局