当前位置:网站首页>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
边栏推荐
- To me, multithreading transaction must be a pseudo proposition!
- 03. Priority link model
- 什么是网站【新四化】?
- 华为云GaussDB:从颠覆自我到颠覆行业,重构数据库市场新格局
- 腾讯云服务器搭建wordpress网站的两种方式(详细图文新手版)
- 「代码整洁之道-程序员的职业素养」读书笔记
- Kubernetes V1.19.3 kubeadm 部署笔记(中)
- jackson、fastjson、kryo、protostuff等序列化工具性能对比
- Full link stress testing of moral integrity -- the evolution of corpus intelligence
- Full link stress testing of moral integrity -- the evolution of corpus intelligence
猜你喜欢

乘风破浪的技术大咖再次集结 | 腾讯云TVP持续航行中

实在是太棒了!阿里资深架构师20年经验整理分享ServiceMesh实战文档,涨薪就差这篇文章了!

Some common types of error exception in Python

International top journal radiology published the latest joint results of Huawei cloud, AI assisted detection of cerebral aneurysms

c语言小白学习历程第六篇

What can DNS do besides resolving domain names?

arthas无网络环境下离线安装方法

Restart the heap_ uaf_ hacknote

5 minutes get I use GitHub's 5-year summary of these operations!

Idea solves garbled Chinese output of YML configuration file
随机推荐
基于Chef InSpec的基础设施测试
Using GaN based oversampling technique to improve the accuracy of model for mortality prediction of unbalanced covid-19
5 minutes get I use GitHub's 5-year summary of these operations!
Get this template, double your salary
5分钟GET我使用Github 5 年总结的这些骚操作!
CAD2016软件安装教程
Some common types of error exception in Python
Android byte beat one side, was hanged by the interviewer! Fortunately, we got the offer from three sides
H5 official account listens to events in the closed browser (left fork).
03.优先链接模型
Cad2016 download autocad2016 download installation detailed tutorial CAD Download
International top journal radiology published the latest joint results of Huawei cloud, AI assisted detection of cerebral aneurysms
How can you be a big data worker with an annual salary of 40W if you don't work hard?
低功耗蓝牙单芯片为物联网助力
EMQ X 在中国建设银行物联网平台中的应用EMQ X 在中国建设银行物联网平台中的应用
js字符与ASCII码互转的方法
要我说,多线程事务它必须就是个伪命题!
融云完成数亿人民币 D 轮融资,将持续打造全球云通信能力
懒得写文档,swagger文档导出来不香吗
AutoCAD 2020 installation package & Installation Tutorial