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

Till Rohrmann commented on FLINK-15086:
---------------------------------------

So far the contract of the attached mode was that we only close the per job 
mode after the result has been served. If this contract has not been changed, 
then we should also not shut down the Cluster if the user has called 
{{executeAsync}}.

> JobCluster may not be shutdown if executeAsync called
> -----------------------------------------------------
>
>                 Key: FLINK-15086
>                 URL: https://issues.apache.org/jira/browse/FLINK-15086
>             Project: Flink
>          Issue Type: Bug
>          Components: Client / Job Submission, Runtime / Coordination
>            Reporter: Zili Chen
>            Assignee: Zili Chen
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> If a JobCluster started in attached execution mode, it will wait for a client 
> requesting its result and shutdown itself. However, there is no permission 
> that a user get {{JobClient}} from {{executeAsync}} call 
> {{getJobExecutionResult}} so the cluster may remain.
> cc [~aljoscha] [~kkl0u] [~trohrmann]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to