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

Qian Zhang commented on MESOS-4027:
-----------------------------------

[~ct.clmsn], I think there is already a "labels" field in TaskInfo, is that 
enough for your use case?
And what did you mean about "The Attribute is passed to Framework Schedulers as 
part of an Offer's Attributes list."? I think offer's attribute list will only 
consist of the attribute of Mesos agent (slave), it should not include anything 
about task.


> Improve task-node affinity
> --------------------------
>
>                 Key: MESOS-4027
>                 URL: https://issues.apache.org/jira/browse/MESOS-4027
>             Project: Mesos
>          Issue Type: Wish
>          Components: allocation, general
>            Reporter: Chris
>            Priority: Trivial
>
> Improve task-to-node affinity and anti-affinity (running hadoop or spark jobs 
> on a node currently running hdfs or to avoid running Ceph on HDFS nodes).
> Provide a user-mutable Attribute in TaskInfo (the Attribute is modified by a 
> Framework Scheduler) that can describe what a Task is running.
> The Attribute would propagate to a Task at execution. The Attribute is  
> passed to Framework Schedulers as part of an Offer's Attributes list. 
> A Framework Scheduler could then filter out or accept Offers from Nodes that 
> are currently labeled with a desired set or individual Attribute.



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

Reply via email to