You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Till Rohrmann (JIRA)" <ji...@apache.org> on 2017/07/30 17:56:03 UTC
[jira] [Resolved] (FLINK-7279) MiniCluster can deadlock at shut
down
[ https://issues.apache.org/jira/browse/FLINK-7279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Till Rohrmann resolved FLINK-7279.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.4.0
Fixed via 49acd09ec19b5da3f6e9861d658728ec1306e3d5
> MiniCluster can deadlock at shut down
> -------------------------------------
>
> Key: FLINK-7279
> URL: https://issues.apache.org/jira/browse/FLINK-7279
> Project: Flink
> Issue Type: Bug
> Components: Tests
> Affects Versions: 1.4.0
> Reporter: Till Rohrmann
> Assignee: Nico Kruber
> Labels: flip-6
> Fix For: 1.4.0
>
>
> The {{MiniCluster}} can deadlock in case if the fatal error handler is called while the {{MiniCluster}} shuts down. The reason is that the shut down happens under a lock which is required by the fatal error handler as well. If now the {{MiniCluster}} tries to shut down the underlying RPC service which waits for all actors to terminate, it will never complete because one actor is still waiting for the lock.
> One solution would be to ignore the fatal error handler calls if the {{MiniCluster}} is shutting down.
> https://s3.amazonaws.com/archive.travis-ci.org/jobs/257811319/log.txt
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)