[
https://issues.apache.org/jira/browse/MESOS-1823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14143412#comment-14143412
]
Alexander Rukletsov commented on MESOS-1823:
--------------------------------------------
The reason we have a separate {{libprocess}} process for shutdown in executor
library is to guarantee that the executor and all his child process will quit
after a certain timeout. If the executor process has cleaned up and called
{{os::exit()}} in another {{libprocess}} process, than the
{{ShutdownProcess::kill()}} won't be called. For me the check proposed in the
ticket looks redundant now. If [~tstclair] confirms, I'll close the ticket.
> Check if executor has exited before scheduling a hard kill
> ----------------------------------------------------------
>
> Key: MESOS-1823
> URL: https://issues.apache.org/jira/browse/MESOS-1823
> Project: Mesos
> Issue Type: Bug
> Components: slave
> Reporter: Alexander Rukletsov
> Priority: Minor
>
> As [~tstclair] mentioned
> [here|https://reviews.apache.org/r/25434/#comment92392], in
> {{ExecutorProcess}} if {{ShutdownProcess}} is spawned, it's possible all
> other processes in the group have already cleaned up.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)