hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prabhu Joseph (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-9274) PlacementConstraintParser fails to parse NodeConstraint with multiple values
Date Sat, 02 Feb 2019 09:04:00 GMT
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


Mime
View raw message