package mesos.v1.executor

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message Call

executor.proto:159

* Executor call API. Like Event, a Call is described using the standard protocol buffer "union" trick (see above).

message Call.Message

executor.proto:196

Sends arbitrary binary data to the scheduler. Note that Mesos neither interprets this data nor makes any guarantees about the delivery of this message to the scheduler. See 'Message' in the 'Events' section.

Used in: Call

message Call.Subscribe

executor.proto:174

Request to subscribe with the agent. If subscribing after a disconnection, it must include a list of all the tasks and updates which haven't been acknowledged by the scheduler.

Used in: Call

enum Call.Type

executor.proto:162

Possible call types, followed by message definitions if applicable.

Used in: Call

message Call.Update

executor.proto:188

Notifies the scheduler that a task has transitioned from one state to another. Status updates should be used by executors to reliably communicate the status of the tasks that they manage. It is crucial that a terminal update (see TaskState in v1/mesos.proto) is sent to the scheduler as soon as the task terminates, in order for Mesos to release the resources allocated to the task. It is the responsibility of the scheduler to explicitly acknowledge the receipt of a status update. See 'Acknowledged' in the 'Events' section above for the semantics.

Used in: Call, Subscribe

message Event

executor.proto:33

* Executor event API. An event is described using the standard protocol buffer "union" trick, see https://developers.google.com/protocol-buffers/docs/techniques#union.

message Event.Acknowledged

executor.proto:115

Received when the agent acknowledges the receipt of status update. Schedulers are responsible for explicitly acknowledging the receipt of status updates that have 'update.status().uuid()' field set. Unacknowledged updates can be retried by the executor. They should also be sent by the executor whenever it re-subscribes.

Used in: Event

message Event.Error

executor.proto:134

Received in case the executor sends invalid calls (e.g., required values not set). TODO(arojas): Remove this once the old executor driver is no longer supported. With HTTP API all errors will be signaled via HTTP response codes.

Used in: Event

message Event.Kill

executor.proto:100

Received when the scheduler wants to kill a specific task. Once the task is terminated, the executor should send a TASK_KILLED (or TASK_FAILED) update. The terminal update is necessary so Mesos can release the resources associated with the task.

Used in: Event

message Event.Launch

executor.proto:85

Received when the framework attempts to launch a task. Once the task is successfully launched, the executor must respond with a TASK_RUNNING update (See TaskState in v1/mesos.proto).

Used in: Event

message Event.LaunchGroup

executor.proto:92

Received when the framework attempts to launch a group of tasks atomically. Similar to `Launch` above the executor must send TASK_RUNNING updates for tasks that are successfully launched.

Used in: Event

message Event.Message

executor.proto:125

Received when a custom message generated by the scheduler is forwarded by the agent. Note that this message is not interpreted by Mesos and is only forwarded (without reliability guarantees) to the executor. It is up to the scheduler to retry if the message is dropped for any reason.

Used in: Event

message Event.Subscribed

executor.proto:73

First event received when the executor subscribes. The 'id' field in the 'framework_info' will be set.

Used in: Event

enum Event.Type

executor.proto:36

Possible event types, followed by message definitions if applicable.

Used in: Event