[
https://issues.apache.org/jira/browse/MESOS-1031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13921557#comment-13921557
]
Timothy St. Clair edited comment on MESOS-1031 at 3/6/14 5:45 PM:
------------------------------------------------------------------
It's typically a defaults + optional per-task/job option b/c some tasks may
take a while to cleanup/write-out etc.
FWIW, you might want to cross-ref:
http://research.cs.wisc.edu/htcondor/manual/v8.1/condor_submit.html#84171 as
example.
was (Author: tstclair):
FWIW, you might want to cross-ref:
http://research.cs.wisc.edu/htcondor/manual/v8.1/condor_submit.html#84171 as
example.
> Command executor should support signal escalation.
> --------------------------------------------------
>
> Key: MESOS-1031
> URL: https://issues.apache.org/jira/browse/MESOS-1031
> Project: Mesos
> Issue Type: Improvement
> Components: slave
> Reporter: Niklas Quarfot Nielsen
>
> To make command executor shutdown more graceful, the sequence could allow
> signal escalation with initial SIGTERM followed by SIGKILL after an
> appropriate timeout. This became apparent when we where using the command
> executor for pluggable containerization (see
> https://issues.apache.org/jira/browse/MESOS-816).
> The escalation would need to prevent shutdown of the command executor until
> child processes have actually stopped and if processes are still alive after
> the timeout, send SIGKILL to the original process group.
> Further more, additional unit tests could be added to verify the new
> escalation i.e. add or modify a test-executor so it becomes irresponsive to
> SIGTERM and/or leaves behind orphan processes.
--
This message was sent by Atlassian JIRA
(v6.2#6252)