You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bm...@apache.org on 2016/02/20 17:37:39 UTC
[03/11] mesos git commit: Minor cleanup for TaskState comments.
Minor cleanup for TaskState comments.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/de4094da
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/de4094da
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/de4094da
Branch: refs/heads/master
Commit: de4094daa141d24691b81a2c41eef67ceee8d661
Parents: 1bd0663
Author: Benjamin Mahler <bm...@apache.org>
Authored: Sat Feb 20 13:06:03 2016 +0100
Committer: Benjamin Mahler <bm...@apache.org>
Committed: Sat Feb 20 14:22:19 2016 +0100
----------------------------------------------------------------------
include/mesos/mesos.proto | 12 ++++++------
include/mesos/v1/mesos.proto | 12 ++++++------
2 files changed, 12 insertions(+), 12 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/de4094da/include/mesos/mesos.proto
----------------------------------------------------------------------
diff --git a/include/mesos/mesos.proto b/include/mesos/mesos.proto
index 5078da4..debc59d 100644
--- a/include/mesos/mesos.proto
+++ b/include/mesos/mesos.proto
@@ -1215,7 +1215,7 @@ message TaskInfo {
* another task).
*/
enum TaskState {
- TASK_STAGING = 6; // Initial state. Framework status updates should not use.
+ TASK_STAGING = 6; // Initial state. Framework status updates should not use.
TASK_STARTING = 0; // The task is being launched by the executor.
TASK_RUNNING = 1;
@@ -1223,11 +1223,11 @@ enum TaskState {
// the TASK_KILLING_STATE capability.
TASK_KILLING = 8; // The task is being killed by the executor.
- TASK_FINISHED = 2; // TERMINAL. The task finished successfully.
- TASK_FAILED = 3; // TERMINAL. The task failed to finish successfully.
- TASK_KILLED = 4; // TERMINAL. The task was killed by the executor.
- TASK_LOST = 5; // TERMINAL. The task failed but can be rescheduled.
- TASK_ERROR = 7; // TERMINAL. The task description contains an error.
+ TASK_FINISHED = 2; // TERMINAL: The task finished successfully.
+ TASK_FAILED = 3; // TERMINAL: The task failed to finish successfully.
+ TASK_KILLED = 4; // TERMINAL: The task was killed by the executor.
+ TASK_LOST = 5; // TERMINAL: The task failed but can be rescheduled.
+ TASK_ERROR = 7; // TERMINAL: The task description contains an error.
}
http://git-wip-us.apache.org/repos/asf/mesos/blob/de4094da/include/mesos/v1/mesos.proto
----------------------------------------------------------------------
diff --git a/include/mesos/v1/mesos.proto b/include/mesos/v1/mesos.proto
index a1da4a0..61c3d94 100644
--- a/include/mesos/v1/mesos.proto
+++ b/include/mesos/v1/mesos.proto
@@ -1116,7 +1116,7 @@ message TaskInfo {
* another task).
*/
enum TaskState {
- TASK_STAGING = 6; // Initial state. Framework status updates should not use.
+ TASK_STAGING = 6; // Initial state. Framework status updates should not use.
TASK_STARTING = 0; // The task is being launched by the executor.
TASK_RUNNING = 1;
@@ -1124,11 +1124,11 @@ enum TaskState {
// the TASK_KILLING_STATE capability.
TASK_KILLING = 8; // The task is being killed by the executor.
- TASK_FINISHED = 2; // TERMINAL. The task finished successfully.
- TASK_FAILED = 3; // TERMINAL. The task failed to finish successfully.
- TASK_KILLED = 4; // TERMINAL. The task was killed by the executor.
- TASK_LOST = 5; // TERMINAL. The task failed but can be rescheduled.
- TASK_ERROR = 7; // TERMINAL. The task description contains an error.
+ TASK_FINISHED = 2; // TERMINAL: The task finished successfully.
+ TASK_FAILED = 3; // TERMINAL: The task failed to finish successfully.
+ TASK_KILLED = 4; // TERMINAL: The task was killed by the executor.
+ TASK_LOST = 5; // TERMINAL: The task failed but can be rescheduled.
+ TASK_ERROR = 7; // TERMINAL: The task description contains an error.
}