hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weiwei Yang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-8015) Support allocation tag namespaces in AppPlacementAllocator
Date Fri, 13 Apr 2018 08:09:00 GMT

    [ 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message