You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by gr...@apache.org on 2020/01/17 03:01:21 UTC
[mesos] branch master updated: Added a new task status reason.
This is an automated email from the ASF dual-hosted git repository.
grag pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git
The following commit(s) were added to refs/heads/master by this push:
new 42e9b88 Added a new task status reason.
42e9b88 is described below
commit 42e9b889900be9934dbb5ffc06504b21a3d8c206
Author: Greg Mann <gr...@mesosphere.io>
AuthorDate: Thu Jan 16 18:40:50 2020 -0800
Added a new task status reason.
The new reason will be sent to frameworks when one of their tasks is
OOM-killed on an agent while the task is exceeding its memory request.
Review: https://reviews.apache.org/r/71935/
---
include/mesos/mesos.proto | 1 +
include/mesos/v1/mesos.proto | 1 +
2 files changed, 2 insertions(+)
diff --git a/include/mesos/mesos.proto b/include/mesos/mesos.proto
index b0f5905..d0aed5a 100644
--- a/include/mesos/mesos.proto
+++ b/include/mesos/mesos.proto
@@ -2636,6 +2636,7 @@ message TaskStatus {
REASON_CONTAINER_LIMITATION = 19;
REASON_CONTAINER_LIMITATION_DISK = 20;
REASON_CONTAINER_LIMITATION_MEMORY = 8;
+ REASON_CONTAINER_MEMORY_REQUEST_EXCEEDED = 35;
REASON_CONTAINER_PREEMPTED = 17;
REASON_CONTAINER_UPDATE_FAILED = 22;
REASON_MAX_COMPLETION_TIME_REACHED = 33;
diff --git a/include/mesos/v1/mesos.proto b/include/mesos/v1/mesos.proto
index 53a7b9b..06c4816 100644
--- a/include/mesos/v1/mesos.proto
+++ b/include/mesos/v1/mesos.proto
@@ -2625,6 +2625,7 @@ message TaskStatus {
REASON_CONTAINER_LIMITATION = 19;
REASON_CONTAINER_LIMITATION_DISK = 20;
REASON_CONTAINER_LIMITATION_MEMORY = 8;
+ REASON_CONTAINER_MEMORY_REQUEST_EXCEEDED = 35;
REASON_CONTAINER_PREEMPTED = 17;
REASON_CONTAINER_UPDATE_FAILED = 22;
REASON_MAX_COMPLETION_TIME_REACHED = 33;