[ https://issues.apache.org/jira/browse/YARN-7858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16358050#comment-16358050 ]
Weiwei Yang commented on YARN-7858: ----------------------------------- Hi [~asuresh] Could you please elaborate what do you mean by "to allow ALL attributes to be scope-able or just a pre-configured subset"? I took a look at this today, I think in terms of node-attributes, the only scope makes sense is "*NODE*". E.g {target: node-attribute:*host* IN "n1,n2,n3", *scope*: "host"} that constrains the allocations to nodes where attribute {{host}} is "n1", "n2" or "n3". You can't specify an attribute in scope right? Just want to get to the same page. Thanks > Support special Node Attribute scopes in addition to NODE and RACK > ------------------------------------------------------------------ > > Key: YARN-7858 > URL: https://issues.apache.org/jira/browse/YARN-7858 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Arun Suresh > Assignee: Weiwei Yang > Priority: Major > > Currently, we have only two scopes defined: NODE and RACK against which we > check the cardinality of the placement. > This idea should be extended to support node-attribute scopes. For eg: > Placement of containers across *upgrade domains* and *failure domains*. -- 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