You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2016/12/02 14:12:59 UTC
[jira] [Created] (FLINK-5231) JobManager should exit on
"OutOfMemoryError"
Stephan Ewen created FLINK-5231:
-----------------------------------
Summary: JobManager should exit on "OutOfMemoryError"
Key: FLINK-5231
URL: https://issues.apache.org/jira/browse/FLINK-5231
Project: Flink
Issue Type: Sub-task
Components: JobManager
Affects Versions: 1.1.3
Reporter: Stephan Ewen
A JobManager that ever encountered an {{OutOfMemoryError}} is with a high probability not functional any more. However, the {{OutOfMemoryError}} kills only the thread where it is thrown by default, not the entire JVM.
We should add {{-XX:OnOutOfMemoryError="kill -9 %p"}} both to the standalone bash options and to the YARN and Mesos launch options.
On the TaskManager side, the decision is more tricky and less critical, so I suggest to add this only to the JobManager by default.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)