2016-02-01 37 views

回答

11

为了在本地启动Flink时启动Web界面,我们必须启用FlinkMiniCluster中的Web界面。 FlinkMiniCluster是管理本地所有Flink服务启动的类。

下剪断将启用一个StreamExecutionEnvironment Web界面:

// set up the execution environment 
Configuration conf = new Configuration(); 
conf.setBoolean(ConfigConstants.LOCAL_START_WEBSERVER, true); 
final StreamExecutionEnvironment env = LocalStreamEnvironment.createLocalEnvironment(8, conf); 
+0

http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Can-t-访问弗林克仪表板-AT-8081运行 - 弗林克程序 - 使用 - Eclipse的td8016.html –

相关问题