[ https://issues.apache.org/jira/browse/FLINK-9315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Biao Liu updated FLINK-9315: ---------------------------- Description: Currently the TaskManagerRunner would be waiting for rpc service terminated synchronously. If this happened in rpc service related thread (akka dispatcher thread), it would be stuck forever. We should change the behavior like in ClusterEntrypoint, make it not waiting but asynchronous with a future. was:Currently shutdown TaskManagerRunner may be stuck. BecauseĀ > TaskManagerRunner.shutDown() may be stuck in waiting rpc service terminated > --------------------------------------------------------------------------- > > Key: FLINK-9315 > URL: https://issues.apache.org/jira/browse/FLINK-9315 > Project: Flink > Issue Type: Bug > Components: TaskManager > Affects Versions: 1.5.0 > Reporter: Biao Liu > Assignee: Biao Liu > Priority: Major > > Currently the TaskManagerRunner would be waiting for rpc service terminated > synchronously. If this happened in rpc service related thread (akka > dispatcher thread), it would be stuck forever. > We should change the behavior like in ClusterEntrypoint, make it not waiting > but asynchronous with a future. -- This message was sent by Atlassian JIRA (v7.6.3#76005)