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

ASF GitHub Bot commented on YARN-11616:
---------------------------------------

zuston opened a new pull request, #6282:
URL: https://github.com/apache/hadoop/pull/6282

   ### Description of PR
   
   In the `NodeConstraintParser`, it won't throw exception when multiple 
attribute kvs are specified. It will return incorrect placement constraint, 
which will mislead users. Like the
   
   `rm.yarn.io/foo=1,rm.yarn.io/bar=2`, it will parse it to 
`node,EQ,rm.yarn.io/bar=[1:2]`
   
   ### How was this patch tested?
   
   Verified in our internal cluster.
   
   ### For code changes:
   
   - [ ] Does the title or this PR starts with the corresponding JIRA issue id 
(e.g. 'HADOOP-17799. Your PR title ...')?
   - [ ] Object storage: have the integration tests been executed and the 
endpoint declared according to the connector-specific documentation?
   - [ ] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)?
   - [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, 
`NOTICE-binary` files?
   
   




> Fast fail when multiple attribute kvs are specified
> ---------------------------------------------------
>
>                 Key: YARN-11616
>                 URL: https://issues.apache.org/jira/browse/YARN-11616
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodeattibute
>            Reporter: Junfan Zhang
>            Priority: Major
>
> In theĀ {{NodeConstraintParser}}, it won't throw exception when multiple 
> attribute kvs are specified. It will return incorrect placement constraint, 
> which will mislead users. Like the 
> {{rm.yarn.io/foo=1,rm.yarn.io/bar=2}}, it will parse it to 
> {{node,EQ,rm.yarn.io/bar=[1:2]}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to