Skip to content

Commit 7f5687e

Browse files
committed
🚧 Flink
1 parent 4f0872c commit 7f5687e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

markdown-file/Flink-Install-And-Settings.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@
2525
- 查看日志:`tail -300f log/flink-*-standalonesession-*.log`
2626
- 浏览器访问 WEB 管理:`http://192.168.0.105:8081`
2727

28+
## yarn 启动
29+
30+
- 安装方式跟上面一样,但是必须保证有 hadoop、yarn 集群
31+
- 控制台启动:`cd /usr/local/flink && ./bin/yarn-session.sh -n 2 -jm 1024 -tm 1024`
32+
- 守护进程启动:`cd /usr/local/flink && ./bin/yarn-session.sh -n 2 -jm 1024 -tm 1024 -d`
33+
- 有可能会报:`The Flink Yarn cluster has failed`,可能是资源不够
34+
35+
2836
## Demo
2937

3038
- 运行程序解压包下也有一些 jar demo:`cd /usr/local/flink/examples`

0 commit comments

Comments
 (0)