Github user aljoscha commented on a diff in the pull request:
https://github.com/apache/flink/pull/5658#discussion_r173170798
--- Diff:
flink-core/src/main/java/org/apache/flink/util/ExceptionUtils.java ---
@@ -81,12 +81,15 @@ public static String stringifyException(final Throwable
e) {
* <p>Currently considered fatal exceptions are Virtual Machine errors
indicating
* that the JVM is corrupted, like {@link InternalError}, {@link
UnknownError},
* and {@link java.util.zip.ZipError} (a special case of InternalError).
+ * The {@link ThreadDeath} exception is also treated as a fatal error,
because when
+ * a thread is forcefully stopped, there is a high chance that parts of
the system
+ * is in an inconsistent state.
--- End diff --
nit/typo: "are in an inconsistent state"?
---