You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ya...@apache.org on 2016/09/20 18:57:02 UTC
mesos git commit: Mentioned `reserved_resources_full` info on the
agent in relevant docs.
Repository: mesos
Updated Branches:
refs/heads/master d2aacda42 -> 46379ba53
Mentioned `reserved_resources_full` info on the agent in relevant docs.
Review: https://reviews.apache.org/r/52070
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/46379ba5
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/46379ba5
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/46379ba5
Branch: refs/heads/master
Commit: 46379ba533f6715ad170adb55d3b28da39931944
Parents: d2aacda
Author: Jiang Yan Xu <xu...@apple.com>
Authored: Mon Sep 19 14:57:38 2016 -0700
Committer: Jiang Yan Xu <xu...@apple.com>
Committed: Tue Sep 20 11:56:34 2016 -0700
----------------------------------------------------------------------
docs/persistent-volume.md | 6 ++++++
docs/reservation.md | 6 ++++++
2 files changed, 12 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/46379ba5/docs/persistent-volume.md
----------------------------------------------------------------------
diff --git a/docs/persistent-volume.md b/docs/persistent-volume.md
index 4a5d532..5dfbbf1 100644
--- a/docs/persistent-volume.md
+++ b/docs/persistent-volume.md
@@ -376,6 +376,12 @@ Information about the persistent volumes at each agent in the cluster can be
found by querying the [/slaves](endpoints/master/slaves.md) master endpoint
(under the `reserved_resources_full` key).
+The same information can also be found in the [/state](endpoints/slave/state.md)
+endpoint on the agent (under the `reserved_resources_full` key). The agent
+endpoint is useful to confirm if changes to persistent volumes have been
+propagated to the agent (which can fail in the event of network partition or
+master/agent restarts).
+
## Programming with Persistent Volumes
Some suggestions to keep in mind when building applications that use persistent
http://git-wip-us.apache.org/repos/asf/mesos/blob/46379ba5/docs/reservation.md
----------------------------------------------------------------------
diff --git a/docs/reservation.md b/docs/reservation.md
index 6408646..20db7c9 100644
--- a/docs/reservation.md
+++ b/docs/reservation.md
@@ -383,3 +383,9 @@ can examine the state of the appropriate Mesos slave (e.g., via the slave's
Information about the reserved resources at each slave in the cluster can be
found by querying the [/slaves](endpoints/master/slaves.md) master endpoint
(under the `reserved_resources_full` key).
+
+The same information can also be found in the [/state](endpoints/slave/state.md)
+endpoint on the agent (under the `reserved_resources_full` key). The agent
+endpoint is useful to confirm if a reservation has been propagated to the
+agent (which can fail in the event of network partition or master/agent
+restarts).
\ No newline at end of file