You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Shuyi Chen (JIRA)" <ji...@apache.org> on 2017/11/08 08:42:00 UTC

[jira] [Comment Edited] (FLINK-5176) Properly wait for component shutdown in Runner components

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

Shuyi Chen edited comment on FLINK-5176 at 11/8/17 8:41 AM:
------------------------------------------------------------

Hi [~till.rohrmann], is this still an issue?


was (Author: suez1224):
[~till.rohrmann] is this still an issue?

> Properly wait for component shutdown in Runner components
> ---------------------------------------------------------
>
>                 Key: FLINK-5176
>                 URL: https://issues.apache.org/jira/browse/FLINK-5176
>             Project: Flink
>          Issue Type: Improvement
>          Components: Distributed Coordination
>            Reporter: Till Rohrmann
>            Assignee: Shuyi Chen
>            Priority: Minor
>              Labels: flip-6
>
> Currently, the different runners for the Flip-6 components {{JobMaster}}, {{ResourceManager}} and {{TaskExecutor}} don't wait until the component has been shut down in their own {{shutDown}} method. The problem is that the {{AkkaRpcService}} implements the {{RpcService#shutDown}} method via a {{PoisonPill}} which is not executed synchronously. Instead we should obtain the {{RpcEndpoint#getTerminationFutures}} and wait on the returned future (with a given timeout).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)