[ https://issues.apache.org/jira/browse/SLIDER-82?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14580017#comment-14580017 ]
Rajesh Kartha commented on SLIDER-82: ------------------------------------- Found one issue with my patch, should check for nulls on the roleHistory and role objects being passed. Will upload an updated patch soon. Also, this patch does not consider escalation of requests. Not sure, if that could be handled via a separate JIRA. > Support ANTI_AFFINITY_REQUIRED option > ------------------------------------- > > Key: SLIDER-82 > URL: https://issues.apache.org/jira/browse/SLIDER-82 > Project: Slider > Issue Type: Task > Components: appmaster > Reporter: Steve Loughran > Fix For: Slider 2.0.0 > > Attachments: SLIDER-82.001.patch > > > slider has an anti-affinity flag in roles (visible in resources.json?), which > is ignored. > YARN-1042 promises this for YARN, slider will need > # flag in resources.json > # use in container requests > we may also want two policies: anti-affinity-desired, and -required. Then if > required nodes get >1 container for the same component type on the same node, > it'd have to request a new one and return the old one (Risk: getting the same > one back). -- This message was sent by Atlassian JIRA (v6.3.4#6332)