You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by makeyang <ri...@hotmail.com> on 2018/05/31 09:49:16 UTC

some default config questions

why jobmanager.execution.failover-strategy default value is full not
Individual?
why taskmanager.jvm-exit-on-oom default value is false not true?
code is flink 1.5



--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/

Re: some default config questions

Posted by makeyang <ri...@hotmail.com>.
thanks 



--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/

Re: some default config questions

Posted by Till Rohrmann <tr...@apache.org>.
Hi,

the reason why `jobmanager.execution.failover-strategy` defaults to `full`
is that `individual` only works if you have a completely embarrassingly
parallel job where all operators chain into a single task.

Concerning `taskmanager.jvm-exit-on-oom`, depending on where the
OOMException has been thrown, it is sometimes still possible for the
TaskManager to recover from it. However, in the general case you're right
that one should not rely that the JVM is in a consistent state after an OOM
and it would probably safer to simply terminate the TM process.

Cheers,
Till

On Thu, May 31, 2018 at 11:49 AM, makeyang <ri...@hotmail.com>
wrote:

> why jobmanager.execution.failover-strategy default value is full not
> Individual?
> why taskmanager.jvm-exit-on-oom default value is false not true?
> code is flink 1.5
>
>
>
> --
> Sent from: http://apache-flink-user-mailing-list-archive.2336050.
> n4.nabble.com/
>