We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f0872c commit 7f5687eCopy full SHA for 7f5687e
markdown-file/Flink-Install-And-Settings.md
@@ -25,6 +25,14 @@
25
- 查看日志:`tail -300f log/flink-*-standalonesession-*.log`
26
- 浏览器访问 WEB 管理:`http://192.168.0.105:8081`
27
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
36
## Demo
37
38
- 运行程序解压包下也有一些 jar demo:`cd /usr/local/flink/examples`
0 commit comments