----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/44657/ -----------------------------------------------------------
(Updated March 15, 2016, 4:01 p.m.) Review request for mesos, Ben Mahler and Gilbert Song. Summary (updated) ----------------- Used `KillPolicy` and shutdown grace period in command executor. Bugs: MESOS-4909 https://issues.apache.org/jira/browse/MESOS-4909 Repository: mesos Description (updated) ------- The command executor determines how much time it allots the underlying task to clean up (effectively how long to wait for the task to comply to SIGTERM before sending SIGKILL) based on both optional `KillPolicy` and optional `shutdown_grace_period` field in `ExecutorInfo`. Diffs ----- src/launcher/executor.cpp 4149f084b0b234fb995df04e9d1ca704feec082e src/slave/slave.cpp 840534ff0687e82ed063c386e36bbabada230697 Diff: https://reviews.apache.org/r/44657/diff/ Testing ------- The complete chain was tested. See https://reviews.apache.org/r/44662/. Thanks, Alexander Rukletsov