-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45927/
-----------------------------------------------------------

(Updated April 11, 2016, 4:54 p.m.)


Review request for mesos, Anand Mazumdar and Joseph Wu.


Bugs: MESOS-5124
    https://issues.apache.org/jira/browse/MESOS-5124


Repository: mesos


Description
-------

Adds a flag that specifies a delay after which the task should be
killed. If set, a kill task request is scheduled to be sent after
TASK_RUNNING status update has been received. Also adds support for
TASK_KILLING capability.


Diffs
-----

  src/cli/execute.cpp af62f41622e1c43acd8f257c54f8754162c433b8 

Diff: https://reviews.apache.org/r/45927/diff/


Testing (updated)
-------

On Mac OS 10.10.4:
`make check`

Additionally manually tested `mesos-execute` with both responsive and 
unresponsive (https://github.com/rukletsov/unresponsive-process) tasks:
`./src/mesos-execute --master=127.0.0.1:5050 --name=test --command="sleep 10" 
--env='{"GLOG_v": 2}' --kill_after=2secs`
`./src/mesos-execute --master=127.0.0.1:5050 --name=test 
--command="/Users/alex/bin/unresponsive_process" --env='{"GLOG_v": 2}' 
--kill_after=2secs`


Thanks,

Alexander Rukletsov

Reply via email to