flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maximilian Michels (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-1812) TaskManager shell scripts restart JVMs on process failures
Date Thu, 02 Apr 2015 09:26:53 GMT

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

Maximilian Michels commented on FLINK-1812:


[~hsaputra] Yes. Instead of simply forking the TaskManager process to the background, we would
fork the bash script to the background which restarts the TaskManager if its exit code matches
a certain value.

> TaskManager shell scripts restart JVMs on process failures
> ----------------------------------------------------------
>                 Key: FLINK-1812
>                 URL: https://issues.apache.org/jira/browse/FLINK-1812
>             Project: Flink
>          Issue Type: Improvement
>          Components: Start-Stop Scripts
>    Affects Versions: 0.9
>            Reporter: Stephan Ewen
> Currently, the TaskManager processes may die under certain fatal exceptions that prevent
the TaskManager to proceed.
> Most of those problems can be fixed by a clean process (JVM) restart.
> We can make the system more resilient by changing the {{taskmanager.sh}} bash script
to restart the processes upon a certain exit code. 
> The TaskManager returns that exit code whenever it kills itself due to a problem that
requires a clean JVM.

This message was sent by Atlassian JIRA

View raw message