message RunTaskMessageTaskInfo {
...
// Evict Resources to launch tasks.
message RevocationEvictResource {
string role = 1;
repeated Resource revocable_resources = 2;
}
repeated RevocationEvictResource revocationsevict_resources = 3;
}
message RunTaskMessageTaskInfo {
...
// Evict Resources to launch tasks.
message RevocationEvictResource {
string role = 1;
repeated Resource revocable_resources = 2;
}
repeated RevocationEvictResource revocationsevict_resources = 3;
}message RunTaskMessage {
// TODO(karya): Remove framework_id after MESOS-2559 has shipped.
optional FrameworkID framework_id = 1 [deprecated = true];
required FrameworkInfo framework = 2;
required TaskInfo task = 4;
// The pid of the framework. This was moved to 'optional' in
// 0.24.0 to support schedulers using the HTTP API. For now, we
// continue to always set pid since it was required in 0.23.x.
// When 'pid' is unset, or set to empty string, the agent will
// forward executor messages through the master. For schedulers
// still using the driver, this will remain set.
optional string pid = 3;
// Evict Resources to launch tasks.
message Revocation {
optional FrameworkID framework_id = 1;
required string role = 2;
repeated Resource revocable_resources = 3;
}
repeated Revocation revocations = 5;
}