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

Wangda Tan commented on YARN-8480:
----------------------------------

[~snemeth]/[~templedf]. 

To me we should move this to node attribute: we already have most things ready 
here under YARN-3409 branch. I don't think we should duplicate the same things 
in this JIRA. 

For stuffs added to resource class, it's not necessarily to be countable, 
(definition of countable according to design doc of YARN-3926):
{code} 
When we speak of countable resources, we refer to resource­types where the 
allocation and release of resources is a simple subtraction and addition 
operation.
{code}

I'm supportive to add new resource types like set, range, or hierarchical (like 
disk resource isolation which is mentioned by [~cheersyang]). The pure label 
resource type should go to node attribute / node partition.

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to