flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krishna Prasad Anna Ramesh Kumar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-4874) Enabling Flink web interface in local execution
Date Fri, 21 Oct 2016 01:35:59 GMT
Krishna Prasad Anna Ramesh Kumar created FLINK-4874:
-------------------------------------------------------

             Summary: 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: Webfrontend
    Affects Versions: 1.1.2
            Reporter: Krishna Prasad Anna Ramesh Kumar
            Priority: Trivial
             Fix For: 1.1.2


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, config);"

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
(v6.3.4#6332)

Mime
View raw message