[ https://issues.apache.org/jira/browse/YARN-8715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16614665#comment-16614665 ]
Sunil Govindan commented on YARN-8715: -------------------------------------- bq.If the expression contains a single spec, the sourceTags can be optional for node-attribute constraint but enforced for allocation-tag constraint Yes, this makes sense [~cheersyang]. In such cases, we can enforce for a single constraint. I am fine with this patch, will get this in later today if no objections. > Make allocation tags in the placement spec optional for node-attributes > ----------------------------------------------------------------------- > > Key: YARN-8715 > URL: https://issues.apache.org/jira/browse/YARN-8715 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Weiwei Yang > Assignee: Weiwei Yang > Priority: Major > Attachments: YARN-8715.001.patch > > > YARN-7863 adds support to specify constraints targeting to node-attributes, > including the support in distributed shell, but it still needs to specify > {{allocationTags=numOfContainers}} in the spec. We should make this optional > as it is not required for node-attribute expressions. -- 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