[
https://issues.apache.org/jira/browse/FLINK-3347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15609883#comment-15609883
]
ASF GitHub Bot commented on FLINK-3347:
---------------------------------------
GitHub user tillrohrmann opened a pull request:
https://github.com/apache/flink/pull/2696
[FLINK-3347] [akka] Add QuarantineMonitor which shuts a quarantined actor
system and JVM down
The QuarantineMonitor subscribes to the actor system's event bus and
listens to
AssociationErrorEvents. These are the events which are generated when the
actor system
has quarantined another actor system or if it has been quarantined by
another actor
system. In case of the quarantined state, the actor system will be shutdown
killing
all actors and then the JVM is terminated.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tillrohrmann/flink quarantineMonitor
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/2696.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2696
----
commit 99b93e896dfa9d04ffb9cb65286850dfd8835ba5
Author: Till Rohrmann <[email protected]>
Date: 2016-10-26T22:24:12Z
[FLINK-3347] [akka] Add QuarantineMonitor which shuts a quarantined actor
system and JVM down
The QuarantineMonitor subscribes to the actor system's event bus and
listens to
AssociationErrorEvents. These are the events which are generated when the
actor system
has quarantined another actor system or if it has been quarantined by
another actor
system. In case of the quarantined state, the actor system will be shutdown
killing
all actors and then the JVM is terminated.
----
> TaskManager (or its ActorSystem) need to restart in case they notice
> quarantine
> -------------------------------------------------------------------------------
>
> Key: FLINK-3347
> URL: https://issues.apache.org/jira/browse/FLINK-3347
> Project: Flink
> Issue Type: Improvement
> Components: TaskManager
> Affects Versions: 0.10.1
> Reporter: Stephan Ewen
> Assignee: Till Rohrmann
> Priority: Critical
> Fix For: 1.0.0, 1.2.0, 1.1.4
>
>
> There are cases where Akka quarantines remote actor systems. In that case, no
> further communication is possible with that actor system unless one of the
> two actor systems is restarted.
> The result is that a TaskManager is up and available, but cannot register at
> the JobManager (Akka refuses connection because of the quarantined state),
> making the TaskManager a useless process.
> I suggest to let the TaskManager restart itself once it notices that either
> it quarantined the JobManager, or the JobManager quarantined it.
> It is possible to recognize that by listening to certain events in the actor
> system event stream:
> http://stackoverflow.com/questions/32471088/akka-cluster-detecting-quarantined-state
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)