[ 
https://issues.apache.org/jira/browse/MESOS-7211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16538892#comment-16538892
 ] 

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_r201407700
  
    --- 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"
    +}
    +
    +SUPPRESS Response:
    +HTTP/1.1 202 Accepted
    +```
    +
    --- End diff --
    
    While you are at it, can you also update the documentation about "REVIVE" 
call below. I think it's a bit outdated now. Preferably in a different PR.


> 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)

Reply via email to