[
https://issues.apache.org/jira/browse/YARN-8112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Weiwei Yang updated YARN-8112:
------------------------------
Parent Issue: YARN-8731 (was: YARN-8766)
> Fix min cardinality check for same source and target tags in intra-app
> constraints
> ----------------------------------------------------------------------------------
>
> Key: YARN-8112
> URL: https://issues.apache.org/jira/browse/YARN-8112
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: resourcemanager
> Reporter: Weiwei Yang
> Assignee: Konstantinos Karanasos
> Priority: Major
>
> The min cardinality constraint (min cardinality = _k_) ensures that a
> container is placed at a node that has already k occurrences of the target
> tag. For example, a constraint _zk=3,CARDINALITY,NODE,hb,2,10_ will place
> each of the three zk containers on a node with at least 2 hb instances (and
> no more than 10 for the max cardinality).
> Affinity constraints is a special case of this where min cardinality is 1.
> Currently we do not support min cardinality when the source and the target of
> the constraint are the same in an intra-app constraint.
> Therefore, zk=3,CARDINALITY,NODE,zk,2,10 is not supported, and neither is
> zk=3,IN,NODE,zk.
> This Jira will address this problem by placing the first k containers on the
> same node (or any other specified scope, e.g., rack), so that min cardinality
> can be met when placing the subsequent containers with the same tag.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]