flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maximilian Michels (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-2313) Change Streaming Driver Execution Model
Date Fri, 14 Oct 2016 13:51:20 GMT

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

Maximilian Michels commented on FLINK-2313:
-------------------------------------------

+1 this also popped up recently on the Beam side: https://issues.apache.org/jira/browse/BEAM-593

This is partially also duplicated in https://issues.apache.org/jira/browse/FLINK-4272

> Change Streaming Driver Execution Model
> ---------------------------------------
>
>                 Key: FLINK-2313
>                 URL: https://issues.apache.org/jira/browse/FLINK-2313
>             Project: Flink
>          Issue Type: Improvement
>          Components: Streaming
>            Reporter: Stephan Ewen
>
> I would propose the following change to the Streaming Execution Environment:
> When calling {{env.execute()}}, it does not block, but return an {{ExecutionContext}}
object. This execution context has various methods, that allow you to control the execution:
>   - waitFor() -> Blocks until the job terminates, or the connection to the JobManager
is lost.
>   - stop() -> initiates a clean stop
>   - cancel() -> cancels the program
>   - setParallelism() -> Later: adjusts the parallelism of the program
> If this is voted as desirable, I would make a design how to do this...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message