mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zhitao Li <zhitaoli...@gmail.com>
Subject Review Request 66259: Added max_duration support to command executor.
Date Fri, 23 Mar 2018 20:51:47 GMT

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

Review request for mesos, Jason Lai and James Peach.


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


Repository: mesos


Description
-------

If `TaskInfo.max_duration` is set, command executor will kill the task
using provided optional kill policy. Both `TASK_KILLING` (if framework
has capability) and `TASK_KILLED` status update will have reason set to
`REASON_MAX_DURATION_REACHED`.


Diffs
-----

  src/launcher/executor.cpp 383655230fcdad30b652ea984cb9f5fc9c49dd38 


Diff: https://reviews.apache.org/r/66259/diff/1/


Testing
-------


Thanks,

Zhitao Li


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message