[
https://issues.apache.org/jira/browse/YARN-9274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Prabhu Joseph resolved YARN-9274.
---------------------------------
Resolution: Fixed
Fixed as part of YARN-9258.
> PlacementConstraintParser fails to parse NodeConstraint with multiple values
> ----------------------------------------------------------------------------
>
> Key: YARN-9274
> URL: https://issues.apache.org/jira/browse/YARN-9274
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Prabhu Joseph
> Assignee: Prabhu Joseph
> Priority: Major
>
> PlacementConstraintParser fails to parse if NodeConstraint with multiple
> values. NodeConstraintParser supports Attribute with Multiple values.
> Input: *java=1.7,1.8*
> {code}
> org.apache.hadoop.yarn.util.constraint.PlacementConstraintParseException:
> Value of the expression must be an integer, but met 1.7
> at
> org.apache.hadoop.yarn.util.constraint.PlacementConstraintParser$SourceTagsTokenizer.validate(PlacementConstraintParser.java:263)
> at
> org.apache.hadoop.yarn.util.constraint.PlacementConstraintParser$SourceTags.parseFrom(PlacementConstraintParser.java:619)
> at
> org.apache.hadoop.yarn.util.constraint.PlacementConstraintParser.parsePlacementSpec(PlacementConstraintParser.java:714)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]