You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "vinoyang (JIRA)" <ji...@apache.org> on 2019/07/09 02:23:00 UTC

[jira] [Commented] (FLINK-5231) JobManager should exit on "OutOfMemoryError"

    [ https://issues.apache.org/jira/browse/FLINK-5231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16880862#comment-16880862 ] 

vinoyang commented on FLINK-5231:
---------------------------------

[~StephanEwen] Hope for listening to your comments.

> JobManager should exit on "OutOfMemoryError"
> --------------------------------------------
>
>                 Key: FLINK-5231
>                 URL: https://issues.apache.org/jira/browse/FLINK-5231
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Runtime / Coordination
>    Affects Versions: 1.1.3
>            Reporter: Stephan Ewen
>            Assignee: vinoyang
>            Priority: Major
>
> 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
(v7.6.3#76005)