目录
1. 概述
Flink on Zeppelin环境的Remote模式,与Local模式基本是一样的,只是Remote模式需要额外启动一个Flink集群,并设置以下4个参数即可:
FLINK_HOME
flink.execution.mode
flink.execution.remote.host
flink.execution.remote.port
2. Zeppelin Remote 模式概述
Flink的Remote模式会连接一个已经创建好的Flink集群,一般是Flink standalone集群。除了配置FLINK_HOME 和 flink.execution.mode外,还需要配置flink.execution.remote.host和flink.execution.remote.port来指定JobManager的地址。
例如,在 Flink On Zeppelin Local模式环境搭建 这篇文章的基础上,我们只需要修改Flink的解释器的以下4个配置即可,如下图:
其中已经在服务器vm01上启动了一个standalone模式的集群(即调用flink的./start-cluster.sh即可启动一个stand