meson.client.protocols.master.scheduler
For all of the below defined methods, more detailed information is available here:
IScheduler
protocol
members
accept
(accept this payload)
(accept this payload content-type)
Sent by the scheduler when it accepts offer(s) sent by the master. The ACCEPT
request includes the type of operations (e.g., launch task, reserve resources, create volumes) that the scheduler wants to perform on the offers.
acknowledge
(acknowledge this payload)
(acknowledge this payload content-type)
Sent by the scheduler to acknowledge a status update.
decline
(decline this payload)
(decline this payload content-type)
Sent by the scheduler to explicitly decline offer(s) received. Note that this is same as sending an ACCEPT
call with no operations.
kill-task
(kill-task this payload)
(kill-task this payload content-type)
Sent by the scheduler to kill a specific task. If the scheduler has a custom executor, the kill is forwarded to the executor; it is up to the executor to kill the task and send a TASK_KILLED
(or TASK_FAILED
) update.
message
(message this payload)
(message this payload content-type)
Sent by the scheduler to send arbitrary binary data to the executor.
reconcile
(reconcile this payload)
(reconcile this payload content-type)
Sent by the scheduler to query the status of non-terminal tasks.
request
(request this payload)
(request this payload content-type)
Sent by the scheduler to request resources from the master/allocator.
revive
(revive this payload)
(revive this payload content-type)
Sent by the scheduler to remove any/all filters that it has previously set via ACCEPT
or DECLINE
calls.
shutdown-executor
(shutdown-executor this ayload)
(shutdown-executor this payload content-type)
Sent by the scheduler to shutdown a specific custom executor.
subscribe
(subscribe this payload)
(subscribe this payload content-type)
This is the first step in the communication process between the scheduler and the master. This is also to be considered as subscription to the “/scheduler” events stream.
teardown
(teardown this payload)
(teardown this payload content-type)
Sent by the scheduler when it wants to tear itself down.