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

[jira] [Commented] (FLINK-15086) JobCluster may not be shutdown if executeAsync called

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

Zili Chen commented on FLINK-15086:
-----------------------------------

Since currently the choice detach or attach can be done by user itself, my opinion is that we doesn't close JobCluster in {{MiniDispatcher}} in attach mode, but let the client send a shutdown request on close.

> 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
>            Priority: Major
>
> 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)