You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by an...@apache.org on 2016/07/06 05:53:36 UTC
[7/7] mesos git commit: Revised protobuf definition of 'GetState'
response.
Revised protobuf definition of 'GetState' response.
Review: https://reviews.apache.org/r/49509/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/3a988e2e
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/3a988e2e
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/3a988e2e
Branch: refs/heads/master
Commit: 3a988e2eac02f8f5590e1adced40d10b5360cabe
Parents: dc73420
Author: Zhitao Li <zh...@gmail.com>
Authored: Tue Jul 5 21:25:50 2016 -0700
Committer: Anand Mazumdar <an...@apache.org>
Committed: Tue Jul 5 22:32:57 2016 -0700
----------------------------------------------------------------------
include/mesos/master/master.proto | 7 ++++++-
include/mesos/v1/master/master.proto | 7 ++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/3a988e2e/include/mesos/master/master.proto
----------------------------------------------------------------------
diff --git a/include/mesos/master/master.proto b/include/mesos/master/master.proto
index d06258e..f0c8a56 100644
--- a/include/mesos/master/master.proto
+++ b/include/mesos/master/master.proto
@@ -269,8 +269,13 @@ message Response {
repeated bytes data = 1;
}
+ // Contains full state of the master i.e. information about the tasks,
+ // agents, frameworks and executors running in the cluster.
message GetState {
- // TODO(vinod): Fill in the fields.
+ optional GetTasks get_tasks = 1;
+ optional GetExecutors get_executors = 2;
+ optional GetFrameworks get_frameworks = 3;
+ optional GetAgents get_agents = 4;
}
message GetStateSummary {
http://git-wip-us.apache.org/repos/asf/mesos/blob/3a988e2e/include/mesos/v1/master/master.proto
----------------------------------------------------------------------
diff --git a/include/mesos/v1/master/master.proto b/include/mesos/v1/master/master.proto
index b7cb6fd..0c8cf15 100644
--- a/include/mesos/v1/master/master.proto
+++ b/include/mesos/v1/master/master.proto
@@ -270,8 +270,13 @@ message Response {
repeated bytes data = 1;
}
+ // Contains full state of the master i.e. information about the tasks,
+ // agents, frameworks and executors running in the cluster.
message GetState {
- // TODO(vinod): Fill in the fields.
+ optional GetTasks get_tasks = 1;
+ optional GetExecutors get_executors = 2;
+ optional GetFrameworks get_frameworks = 3;
+ optional GetAgents get_agents = 4;
}
message GetStateSummary {