flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nico Kruber <n...@data-artisans.com>
Subject Re: on Wikipedia Edit Stream example
Date Thu, 21 Sep 2017 12:02:47 GMT
Hi Haibin,
if you execute the program as in the Wiki edit example [1] from mvn as given 
or from the IDE, a local Flink environment will be set up which is not 
accessible form the outside by default. This is done by the call to
StreamExecutionEnvironment.getExecutionEnvironment();
which also works in remote environments, i.e. if the jar is uploaded to a 
running Flink cluster and executed there.

You can also do that if you like to, i.e. "mvn package" the wiki example and 
let Flink run the code as in [2].


Nico

[1] https://ci.apache.org/projects/flink/flink-docs-release-1.3/quickstart/
run_example_quickstart.html
[2] https://ci.apache.org/projects/flink/flink-docs-release-1.3/quickstart/
setup_quickstart.html

On Thursday, 21 September 2017 12:02:34 CEST Liu Haibin wrote:
> Hi,
> 
> I'm wondering why we don't need to run ./bin/start-local.sh for "Wikipedia
> Edit Stream" example but we need to do it for "Quickstart" example.
> 
> I found that I can access http://localhost:8081 for "Quickstart" example
> but not for "Wikipedia Edit Stream".
> 
> Where is "Wikipedia Edit Stream" running? Can I have http://localhost:8081
> for "Wikipedia Edit Stream"?
> 
> 
> Regards,
> Haibin


Mime
View raw message