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

Weiwei Yang commented on YARN-8015:
-----------------------------------

Uploaded v1 patch, changes outline:

Added some UT in {{TestSchedulingRequestContainerAllocation}} to cover:
 * Inter-app constraints by namespace, including all/not-self/app-id/app-tag
 * Inter-app composite constraints, specify constraints like AND(P1, P2)
 * Inter-app constraints with multiple source targets

Simplified validations in {{SingleConstraintAppPlacementAllocator}}, removed 
unnecessary checks including
 * Only allow single constraint
 * Only support node scope
 * Only support anti-affinity

Remove unnecessary validations in {{TestSingleConstraintAppPlacementAllocator}} 
accordingly

> Support allocation tag namespaces in AppPlacementAllocator
> ----------------------------------------------------------
>
>                 Key: YARN-8015
>                 URL: https://issues.apache.org/jira/browse/YARN-8015
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: capacity scheduler
>            Reporter: Weiwei Yang
>            Assignee: Weiwei Yang
>            Priority: Major
>
> AppPlacementAllocator currently only supports intra-app anti-affinity 
> placement constraints, once YARN-8002 and YARN-8013 are resolved, it needs to 
> support inter-app constraints too. Also, this may require some refactoring on 
> the existing code logic. Use this JIRA to track.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to