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

Adam B commented on MESOS-1280:
-------------------------------

Replacing the command and URIs seems like part of an overall Update TaskInfo 
epic, similar to Updating FrameworkInfo (MESOS-703) and Updating SlaveInfo 
(MESOS-1739).
- Phase 1: updating the name, labels, and discoveryInfo.
- ReplaceTask phase, changing ExecutorInfo/CommandInfo/ContainerInfo.
- ResizeTask primitive, updating Resources.
- MigrateTask primitive: updating SlaveID.
- Other minor subtasks: Updating the HealthCheck, or task data.

> Add replace task primitive
> --------------------------
>
>                 Key: MESOS-1280
>                 URL: https://issues.apache.org/jira/browse/MESOS-1280
>             Project: Mesos
>          Issue Type: Bug
>          Components: c++ api, master, slave
>            Reporter: Niklas Quarfot Nielsen
>
> Also along the lines of MESOS-938, replaceTask would one of a couple of 
> primitives needed to support various task replacement and scaling scenarios. 
> This replaceTask() version is significantly simpler than the first proposed 
> one; it's only responsibility is to run a new task info on a running tasks 
> resources.
> The running task will be killed as usual, but the newly freed resources will 
> never be announced and the new task will run on them instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to