flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject flink git commit: [FLINK-7105] [rpc] Make ActorSystems non daemonic
Date Sun, 23 Jul 2017 11:56:41 GMT
Repository: flink
Updated Branches:
  refs/heads/master ea1edfb46 -> 02bf80cf7


[FLINK-7105] [rpc] Make ActorSystems non daemonic

In order to not having to explicitly wait on the termination of an ActorSystem
in the main thread, we now create the ActorSystems in non-daemonic mode. That
way the process won't terminate if there is still an active actor.

This closes #4259


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/02bf80cf
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/02bf80cf
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/02bf80cf

Branch: refs/heads/master
Commit: 02bf80cf7108253dfc3444fd3fbdeda79fabe333
Parents: ea1edfb
Author: Till Rohrmann <trohrmann@apache.org>
Authored: Wed Jul 5 13:38:35 2017 +0200
Committer: Stephan Ewen <sewen@apache.org>
Committed: Sun Jul 23 13:52:27 2017 +0200

----------------------------------------------------------------------
 .../src/main/scala/org/apache/flink/runtime/akka/AkkaUtils.scala   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/02bf80cf/flink-runtime/src/main/scala/org/apache/flink/runtime/akka/AkkaUtils.scala
----------------------------------------------------------------------
diff --git a/flink-runtime/src/main/scala/org/apache/flink/runtime/akka/AkkaUtils.scala b/flink-runtime/src/main/scala/org/apache/flink/runtime/akka/AkkaUtils.scala
index 408cc93..c708362 100644
--- a/flink-runtime/src/main/scala/org/apache/flink/runtime/akka/AkkaUtils.scala
+++ b/flink-runtime/src/main/scala/org/apache/flink/runtime/akka/AkkaUtils.scala
@@ -203,7 +203,7 @@ object AkkaUtils {
     val config =
       s"""
         |akka {
-        | daemonic = on
+        | daemonic = off
         |
         | loggers = ["akka.event.slf4j.Slf4jLogger"]
         | logging-filter = "akka.event.slf4j.Slf4jLoggingFilter"


Mime
View raw message