当前位置:网站首页>Flink的安装和测试
Flink的安装和测试
2020-11-09 15:25:00 【程序猿欧文】
一. Flink的下载
安装包下载地址 ,选择对应Hadoop的Flink版本下载


Flink 有三种部署模式,分别是 Local、Standalone Cluster 和 Yarn Cluster。
二. Local模式
对于 Local 模式来说,JobManager 和 TaskManager 会公用一个 JVM 来完成 Workload。如果要验证一个简单的应用,Local 模式是最方便的。实际应用中大多使用 Standalone 或者 Yarn Cluster,而local模式只是将安装包解压启动(./bin/start-local.sh)即可,在这里不在演示。
三. Standalone 模式
1. 集群部署规划
| 节点名称 | master | worker | zookeeper |
| hadoop01 | master | zookeeper | |
| hadoop02 | master | worker | zookeeper |
| hadoop03 | woker | zookeeper |
2. 解压
[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. 修改配置文件
[hadoop@hadoop01 apps]$ cd flink-1.7.2/
[hadoop@hadoop01 flink-1.7.2]$ ls
bin conf examples lib LICENSE licenses log NOTICE opt README.txt
[hadoop@hadoop01 flink-1.7.2]$ cd conf/
[hadoop@hadoop01 conf]$ ls
flink-conf.yaml log4j-console.properties log4j-yarn-session.properties logback.log4j-cli.properties log4j.properties logback-console.
修改fli.........
版权声明
本文为[程序猿欧文]所创,转载请带上原文链接,感谢
https://my.oschina.net/mikeowen/blog/4710055
边栏推荐
- js字符与ASCII码互转的方法
- Learn with me. NETCORE EF core practical introduction, a look will
- Spark Learning (3) -- memory management and performance tuning
- HomeLede 2020.11.08 v5.4.72内核 UPnP+NAS+多拨+网盘+DNS优化+帕斯沃 无缝集成+软件包
- Embedded assembly in IOS
- AE(After Effects)的简单使用——记一次模板套用的过程
- Chinese programmer vs Japanese programmer, full screen shame!
- H5公众号点击内置浏览器的关闭(左上角的叉叉)监听到事件
- 瞧瞧,这样的『函数』才叫 Pythonic
- 懒得写文档,swagger文档导出来不香吗
猜你喜欢

Leetcode algorithm (1)

MES system plays an important role in the factory production management

【亲测有效】Github无法访问或者访问速度的解决方案

7-10x write performance improvement: analysis of wiredtiger data page lock free and compression black Technology

Android byte beat one side, was hanged by the interviewer! Fortunately, we got the offer from three sides

Learning history of C language

OpenYurt 深度解读:如何构建 Kubernetes 原生云边高效协同网络?

中国程序员 VS 日本程序员,满屏的羞羞!

如何使用Camtasia制作动态动画场景?

使用基于GAN的过采样技术提高非平衡COVID-19死亡率预测的模型准确性
随机推荐
CCF BDCI hot topic: privacy information recognition in unstructured business text information
ImmutableMap的put方法问题
乘风破浪的技术大咖再次集结 | 腾讯云TVP持续航行中
HomeLede 2020.11.08 v5.4.72内核 UPnP+NAS+多拨+网盘+DNS优化+帕斯沃 无缝集成+软件包
MES系统在行业应用里区别于传统式管理
CAD2020下载AutoCAD2020下载安装教程AutoCAD2020中文下载安装方法
Android byte beat one side, was hanged by the interviewer! Fortunately, we got the offer from three sides
MES系统在工厂生产管理起到9大很重要的作用
MES system is different from traditional management in industry application
博士在读时,把暗恋的师兄变成了老公是种怎样的体验?
靠“小抄”进字节:拿到这份模板,薪资能翻倍
The worst hacker in history: stealing $1 billion of bitcoin without spending it for seven years, and finally being seized by the Department of justice
Hadoop learning (3) - Yarn
jackson、fastjson、kryo、protostuff等序列化工具性能对比
Using GaN based oversampling technique to improve the accuracy of model for mortality prediction of unbalanced covid-19
cad教程 cad2016安装教程
C language -- game of Sanzi
缓存的数据一致性
堆重启_uaf_hacknote
Two ways for Tencent cloud server to build WordPress website