Skip to content

Commit cdd5e4c

Browse files
committed
[FLINK-4137] Tell Akka to shut down the JVM on fatal errors
This closes apache#2205
1 parent 6be0a50 commit cdd5e4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flink-runtime/src/main/scala/org/apache/flink/runtime/akka/AkkaUtils.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ object AkkaUtils {
144144
ConfigConstants.DEFAULT_AKKA_LOG_LIFECYCLE_EVENTS)
145145

146146
val jvmExitOnFatalError = if (
147-
configuration.getBoolean(ConfigConstants.AKKA_JVM_EXIT_ON_FATAL_ERROR, false)){
147+
configuration.getBoolean(ConfigConstants.AKKA_JVM_EXIT_ON_FATAL_ERROR, true)){
148148
"on"
149149
} else {
150150
"off"

0 commit comments

Comments
 (0)