[ 
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:
-------------------------------------------

+1

[~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
(v6.3.4#6332)

Reply via email to