当前位置:网站首页>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
边栏推荐
- 在Python中创建文字云或标签云
- shell脚本快速入门----shell基本语法总结
- I do digital transformation in traditional industries (1)
- C language -- game of Sanzi
- Object oriented magic method collection
- 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
- Chinese programmer vs Japanese programmer, full screen shame!
- 你这么不努力,怎么做年薪40W的大数据打工人?
- Openyurt in depth interpretation: how to build kubernetes native cloud edge efficient collaborative network?
- 腾讯云服务器搭建wordpress网站的两种方式(详细图文新手版)
猜你喜欢

Object oriented magic method collection

高德全链路压测——语料智能化演进之路

JS判断对象类型方法_typeof怎么用_instanceof怎么用_constructor怎么用_Object.prototype.toString()怎么用

使用基于GAN的过采样技术提高非平衡COVID-19死亡率预测的模型准确性

One year after graduation, I took private jobs to earn 10 W and got offers from several big factories!

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

03. Priority link model

深入探索 Android Gradle 插件的缓存配置

A letter to myself

Full link stress testing of moral integrity -- the evolution of corpus intelligence
随机推荐
瞧瞧,这样的『函数』才叫 Pythonic
C语言—————三子棋游戏
A certification and authorization solution based on. Net core - hulutong 1.0 open source
Full link stress testing of moral integrity -- the evolution of corpus intelligence
Decrypting the future database design: implementation of mongodb's new storage engine wiredtiger (transaction)
To me, multithreading transaction must be a pseudo proposition!
Object oriented magic method collection
Two ways for Tencent cloud server to build WordPress website
C language -- game of Sanzi
在Python中创建文字云或标签云
Using art template to obtain weather forecast information
你这么不努力,怎么做年薪40W的大数据打工人?
The technology masters who ride the wind and waves gather again | Tencent cloud TVP continues to sail
AutoCAD2020 完整版安装图文教程、注册激活破解方法
EMQ X 在中国建设银行物联网平台中的应用EMQ X 在中国建设银行物联网平台中的应用
The way of a million year salary Architect: on the architecture design of application system
实在是太棒了!阿里资深架构师20年经验整理分享ServiceMesh实战文档,涨薪就差这篇文章了!
嘉宾专访|2020 PostgreSQL亚洲大会阿里云数据库专场:王健
shell脚本快速入门----shell基本语法总结
AUTOCAD2020安装包&安装教程