You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Prabhu Joseph (JIRA)" <ji...@apache.org> on 2019/02/02 09:04:00 UTC

[jira] [Created] (YARN-9274) PlacementConstraintParser fails to parse NodeConstraint with multiple values

Prabhu Joseph created YARN-9274:
-----------------------------------

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


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: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org