当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- QML Repeater
- RabbitMQ安装
- Kubernetes-17: kubernets package management tool -- Introduction and use of Helm
- Mac无法连接到App Store并提示需要连接网络怎么办?
- JS object array de duplication
- 数据库执行truncate table CM_CHECK_ITEM_HIS怎么恢复
- 海外仓见证中欧跨境电商蓬勃发展
- In the third stage, the day20 Shopping Cart module is added, the interceptor is added, the user authority is checked, and the order module is realized
- RBAC of kubernetes authority management (1)
- In the third stage, day19 users echo packaged cookie products and remotely call Shopping Cart module crud operation
猜你喜欢

(3)ASP.NET Core3.1 Ocelot认证

融云集成之避坑指南-Android推送篇

Git + -- Code hosting in the history of version management

Learning notes of millet mall, day 5: ES full text search

手势切换背景,让直播带货更加身临其境

上云嘉年华,超低价云服务器来袭

标梵互动解说小程序开发该如何选择?

From next year, about 30% of the web pages will be inaccessible to older Android devices

拉线位移编码器的选择,需要精量电子的指导

How the API gateway carries the API economic ecological chain
随机推荐
Flink的安装部署
In the third stage, day16 user module jumps to SSO single sign on jsonp / CORS cross domain user login verification
揭秘在召唤师峡谷中移动路径选择逻辑?
The database executes truncate table cm_ CHECK_ ITEM_ How does his recover
谷粒商城学习笔记,第五天:ES全文检索
SEO解决方案制定,如何脱离杯弓蛇影?
Defects in singleton mode of DCL and other implementations of singleton
浅谈API网关(API Gateway)如何承载API经济生态链
一个实用的Chrome小工具:xTrace
Toolkit Pro助力界面开发:缩短项目开发周期,快速实现具有现代功能区样式的GUI
几乎刷完了力扣所有的链表题,我发现了这些东西。。。
How about Tencent cloud amd cloud server?
函数计算进阶-IP查询工具开发
EasyExcel根据筛选列导出(中间不空列,顺序可调整)
The basic principle of MRAM
Ubuntu18.04 NAT模式下配置静态IP地址 -2020.11.09
Flash Book curd project
解决微信小程序使用switchTab跳转后页面不刷新的问题
Android软键盘遮挡的四种解决方案
[God level operation] analyze the Ninja code with the traditional Chinese thoughts of Confucius and Laozi!