当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- 标梵IPFS矿机app软件开发软件 IPFSApp开发方法详解
- Ultra simple integration of Huawei system integrity testing, complete equipment security protection
- How about Tencent cloud amd cloud server?
- Exhibition cloud technology interpretation | in the face of emergencies, how does app do a good job in crash analysis and performance monitoring?
- 深入分析商淘多用户商城系统如何从搜索着手打造盈利点
- Building Hadoop environment based on pseudo distributed under centos7
- 会展云技术解读 | 面对突发事故,APP 如何做好崩溃分析与性能监控?
- (3)ASP.NET Core3.1 Ocelot认证
- High performance library dpdk concise understanding
- How the API gateway carries the API economic ecological chain
猜你喜欢
Super low price cloud server is coming
菜鸟福音,28本书籍循序渐进让你成为大牛!(附学习大纲一份)
Revealing the logic of moving path selection in Summoner Canyon?
andorid实例-简单登录布局
openocd+jlink_picture
Which industries are suitable for enterprises to develop wechat applet?
Solve the problem that the page does not refresh after the wechat applet uses switchtab to jump
How the API gateway carries the API economic ecological chain
会展云技术解读 | 面对突发事故,APP 如何做好崩溃分析与性能监控?
Knowledge mapping 1.1 -- starting from NER
随机推荐
Solve the problem that the page does not refresh after the wechat applet uses switchtab to jump
会展云技术解读 | 面对突发事故,APP 如何做好崩溃分析与性能监控?
Analysis of h264nalu head
单链表反转
浮点数之间的等值判断
Android软键盘遮挡的四种解决方案
[stm32f429] Chapter 6: stm32f429 dma2d acceleration of ThreadX guix
明年起旧版本安卓设备将无法浏览大约30%的网页
以太网模块是什么,以太网模块的功能和特点
JS object array de duplication
DCL单例模式中的缺陷及单例模式的其他实现
程序模拟感知机算法(梯度下降法、sklearn.linear_model中perception方法)
零基础小白python入门——深入Python中的文件操作
【神级操作】 以中国传统的孔子和老子的思想,来分析忍者代码!
Function calculation advanced IP query tool development
SEO solution development, how to break away from the shadow of the bow?
Explain git in detail
Toolkit Pro helps interface development: shorten the project development cycle and quickly realize GUI with modern functional area style
校准服务的六个轴心
GPS timing system (network timing instrument) application of e-government system