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

Daniel Templeton commented on YARN-8480:
----------------------------------------

I read through both node attributes and rich placement constraints.  Correct me 
if I'm wrong, but it looks to me like node attributes rely on the PCM from rich 
placement constraints for scheduling.  It also looks to me like the PCM is an 
out-of-band scheduling process that skips the usual scheduling process.  The 
amount of code that changed in YARN-7670 to support rich placement constraints 
in capacity scheduler was smallish, but the impact is fairly large.

Yes, the patch for this JIRA does touch a lot of common files, but the changes 
are minor and non-invasive and will come with careful testing for performance 
impact.  The patch already includes a huge amount of new unit tests (on top of 
what was added with resource types already) to make sure nothing is impacted as 
a result of this minor extension.

> Add boolean option for resources
> --------------------------------
>
>                 Key: YARN-8480
>                 URL: https://issues.apache.org/jira/browse/YARN-8480
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Daniel Templeton
>            Assignee: Szilard Nemeth
>            Priority: Major
>         Attachments: YARN-8480.001.patch, YARN-8480.002.patch
>
>
> Make it possible to define a resource with a boolean value.



--
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