flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabian Hueske (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-4874) Enabling Flink web interface in local execution
Date Fri, 21 Oct 2016 07:48:58 GMT

    [ https://issues.apache.org/jira/browse/FLINK-4874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15594393#comment-15594393

Fabian Hueske commented on FLINK-4874:

That's a good suggestion. The [Local Execution|https://ci.apache.org/projects/flink/flink-docs-release-1.0/apis/local_execution.html]
page is also quite batch centered (only talks about the {{ExecutionEnvironment}} and not the
{{StreamLocalEnvironment}}) and could be a bit generalized.

> Enabling Flink web interface in local execution
> -----------------------------------------------
>                 Key: FLINK-4874
>                 URL: https://issues.apache.org/jira/browse/FLINK-4874
>             Project: Flink
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 1.1.2
>            Reporter: Krishna Prasad Anna Ramesh Kumar
>            Priority: Trivial
>             Fix For: 1.1.2
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
> The local environment section in the local execution web page (https://ci.apache.org/projects/flink/flink-docs-release-1.0/apis/local_execution.html)
indicates that in the web interface cannot be started while running in a local environment.
As Till has pointed out in one of the mailing lists topics, this can be done by including
the following in the program code.
> "Configuration config = new Configuration();
> config.setBoolean(ConfigConstants.LOCAL_START_WEBSERVER, true);
> StreamExecutionEnvironment env = StreamExecutionEnvironment.createLocalEnvironment(getP,
> And adding this dependency
> "<dependency>
>     <groupId>org.apache.flink</groupId>
>     <artifactId>flink-runtime-web_2.10</artifactId>
>     <version>${flink.version}</version>
> </dependency>"
> This should be added to the documentation as it very critical for developers like time
who are trying to learning the framework.
> Thanks!

This message was sent by Atlassian JIRA

View raw message