[
https://issues.apache.org/jira/browse/MESOS-7211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16538891#comment-16538891
]
ASF GitHub Bot commented on MESOS-7211:
---------------------------------------
Github user vinodkone commented on a diff in the pull request:
https://github.com/apache/mesos/pull/301#discussion_r201406742
--- Diff: docs/scheduler-http-api.md ---
@@ -128,6 +128,26 @@ TEARDOWN Response:
HTTP/1.1 202 Accepted
```
+### SUPPRESS
+Sent by the scheduler when it wants to inform Mesos master to stop sending
offers to the framework. When Mesos receives this request it will stop sending
offers to framework but the tasks will continue running for
`FrameworkInfo.failover_timeout`. Once the framework has work to do, it can
send again a `REVIVE` request.
+
+```
+SUPPRESS Request (JSON):
+POST /api/v1/scheduler HTTP/1.1
+
+Host: masterhost:5050
+Content-Type: application/json
+Mesos-Stream-Id: 130ae4e3-6b13-4ef4-baa9-9f2e85c3e9af
+
+{
+ "framework_id" : {"value" : "12220-3440-12532-2345"},
+ "type" : "SUPPRESS"
+}
--- End diff --
Can you also include `roles` field here for completeness?
> Document SUPPRESS HTTP call
> ---------------------------
>
> Key: MESOS-7211
> URL: https://issues.apache.org/jira/browse/MESOS-7211
> Project: Mesos
> Issue Type: Documentation
> Components: documentation
> Affects Versions: 1.1.0
> Reporter: Bruce Merry
> Priority: Minor
> Labels: mesosphere, newbie
>
> The documentation at
> http://mesos.apache.org/documentation/latest/scheduler-http-api/ doesn't list
> the SUPPRESS call as one of the call types, but it does seem to be
> implemented.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)