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

Zian Chen commented on YARN-8480:
---------------------------------

[~templedf] , would you mind give some example what kind of resources can be 
treated as "boolean" resource here?

To me, node labels and node attributes are orthogonal with each other. Node 
labels are addressing requirements that we want to specify apps running on the 
specific node with the resource they need, or partition cluster on 
organizations or workloads. While node attributes are solving the problem when 
we need to characterize a node based on many of its attributes and select a 
node based on expression of these attributes during scheduling.

If we could find the user scenarios for boolean resource which can not be 
covered by node labels or node attributes very well. That will be a very good 
start for supporting this feature.

 

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