Ask about Running Flink Jobs From Eclipse

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Ask about Running Flink Jobs From Eclipse

Rad Rad
Hi,

I can't see the running Flink job from Eclipse on Flink dashboard even I can
see the running Flink jobs if  I run jar file from Flink CLI or submit from
Flink dashboard.

Regards.



--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: Ask about Running Flink Jobs From Eclipse

David Anderson-2
When you run a Flink job from within an IDE, you end up running with a LocalStreamEnvironment (rather than a remote cluster) that by default does not provide the Web UI. If you want the Flink running in the IDE to have its own dashboard, you can do this by adding this to your application:

    Configuration config = new Configuration();
    StreamExecutionEnvironment env = StreamExecutionEnvironment.createLocalEnvironmentWithWebUI(config);

and by adding this dependency:

    <dependency>
      <groupId>org.apache.flink</groupId>
      <artifactId>flink-runtime-web_2.11</artifactId>
      <version>${flink.version}</version>
    </dependency>

Regards,
David