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

kyungwan nam commented on YARN-9307:
------------------------------------

I attached a patch for hadoop-3.1.
It seems this is fixed in hadoop-3.2 by YARN-7863.
but, it need to be fixed for hadoop-3.1 line.

> node_partitions constraint does not work
> ----------------------------------------
>
>                 Key: YARN-9307
>                 URL: https://issues.apache.org/jira/browse/YARN-9307
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 3.1.1
>            Reporter: kyungwan nam
>            Priority: Major
>         Attachments: YARN-9307.branch-3.1.001.patch
>
>
> when a yarn-service app is submitted with below configuration, 
> node_partitions constraint does not work.
> {code}
> …
>          "placement_policy": {
>            "constraints": [
>              {
>                "type": "ANTI_AFFINITY",
>                "scope": "NODE",
>                "target_tags": [
>                      "ws"
>                ],
>                "node_partitions": [
>                  ""
>                ]
>              }
>            ]
>          }
> {code}



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