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)

Reply via email to