Repository: mesos Updated Branches: refs/heads/master ac7fb6324 -> f3691eafa
Add framework's pid to json summary of framework. Following pattern of slave exposing its pid. Review: https://reviews.apache.org/r/34371 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f3691eaf Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/f3691eaf Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/f3691eaf Branch: refs/heads/master Commit: f3691eafa200a0de551a019adf2eeb2495ec4494 Parents: ac7fb63 Author: Joris Van Remoortere <[email protected]> Authored: Mon May 18 14:12:45 2015 -0700 Committer: Benjamin Hindman <[email protected]> Committed: Mon May 18 14:12:46 2015 -0700 ---------------------------------------------------------------------- src/master/http.cpp | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/f3691eaf/src/master/http.cpp ---------------------------------------------------------------------- diff --git a/src/master/http.cpp b/src/master/http.cpp index 7fa47a9..01dbdad 100644 --- a/src/master/http.cpp +++ b/src/master/http.cpp @@ -112,6 +112,7 @@ JSON::Object summarize(const Framework& framework) JSON::Object object; object.values["id"] = framework.id().value(); object.values["name"] = framework.info.name(); + object.values["pid"] = string(framework.pid); // TODO(bmahler): Use these in the webui. object.values["used_resources"] = model(framework.totalUsedResources);
