You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "TisonKun (JIRA)" <ji...@apache.org> on 2019/06/26 12:19:00 UTC

[jira] [Commented] (FLINK-10879) Align Flink clients on env.execute()

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

TisonKun commented on FLINK-10879:
----------------------------------

[~f.pompermaier] I suspect if you deploy a job cluster ant code after {{env.execute}} would not be executed, too.

I'm glad to learn what "REST API" exactly means because in my mind there are 3 approaches for job submission

1. Directly run in IDE
2. Submit via CliFrontend
3. Programming to get ClusterClient and submit JobGraph

> Align Flink clients on env.execute()
> ------------------------------------
>
>                 Key: FLINK-10879
>                 URL: https://issues.apache.org/jira/browse/FLINK-10879
>             Project: Flink
>          Issue Type: Improvement
>          Components: Command Line Client
>    Affects Versions: 1.6.2
>            Reporter: Flavio Pompermaier
>            Priority: Major
>
> Right now the REST APIs do not support any code after env.execute while the Flink API, CLI client or the code executed within the IDE do.
> Both clients should behave in the same way (supporting env.execute() to return something and continue the code execution or not).
> See the discussion on the DEV ML for more details: http://mail-archives.apache.org/mod_mbox/flink-dev/201811.mbox/%3CCAELUF_DhjzL9FECvx040_GE3d85Ykb-HcGVCh0O4y9h-cThq7A%40mail.gmail.com%3E



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)