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

Weiwei Yang commented on YARN-7863:
-----------------------------------

Hi [~Naganarasimha]

Unlike partitions, PC is not associated with resource, 
{quote}there is no way to find out for a given queue how much pending resources 
are there in each partition it can access.
{quote}
PCs are not associated with resource, so it's like an extra check after all 
other checks are done. Scheduler still calculates how much resource available 
in a partition for a given queue, assign resource from a node in this partition 
to a request, but if PC is not satisfied then the allocation proposal will be 
rejected. Partition in PC is not ready, to be honest, I am not sure if 
everything is align with existing label-based scheduling. I suggested in 
YARN-8015 to open a separate task for further enhance that.
{quote}And also i am not able to envisage the scenario where in partition needs 
to be OR'd with Allocation tags or Attributes.
{quote}
Agree, it won't make sense to put a OR between a partition constraint and a 
allocation-tag/attribute constraint. But other combinations are useful. We 
support this, however if a PC is really meaningful that is up to the user.

 

> Modify placement constraints to support node attributes
> -------------------------------------------------------
>
>                 Key: YARN-7863
>                 URL: https://issues.apache.org/jira/browse/YARN-7863
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Sunil Govindan
>            Assignee: Sunil Govindan
>            Priority: Major
>         Attachments: YARN-7863-YARN-3409.002.patch, 
> YARN-7863-YARN-3409.003.patch, YARN-7863-YARN-3409.004.patch, 
> YARN-7863-YARN-3409.005.patch, YARN-7863-YARN-3409.006.patch, 
> YARN-7863-YARN-3409.007.patch, YARN-7863-YARN-3409.008.patch, 
> YARN-7863.v0.patch
>
>
> This Jira will track to *Modify existing placement constraints to support 
> node attributes.*



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to