mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Peach <jpe...@apache.org>
Subject Review Request 62644: Added resources to the TaskStatus message.
Date Thu, 28 Sep 2017 00:19:48 GMT

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

Review request for mesos, Jie Yu and Qian Zhang.


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


Repository: mesos


Description
-------

Added a Resources field names `limited_resource` to the `TaskStatus`
message to convey specific information about a resource limit that has
been violated by a container.

This field propagates the resources in the `ContainerLimitation` message
send by isolators on the agent, and is populated for the following
reason enums:

  * `REASON_CONTAINER_LIMITATION`
  * `REASON_CONTAINER_LIMITATION_DISK`
  * `REASON_CONTAINER_LIMITATION_MEMORY`


Diffs
-----

  include/mesos/mesos.proto 3b2d6bb7034c3157347c8ad3c32aa38c642762f8 
  include/mesos/v1/mesos.proto 4ca48868c033c7285662d7eb182ac3d40f550833 
  src/slave/slave.cpp 75e2e25c438637e2b1731f9fd01b6fe297687c50 


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


Testing
-------

make check (Fedora 26)


Thanks,

James Peach


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