[
https://issues.apache.org/jira/browse/YARN-8681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Szilard Nemeth reassigned YARN-8681:
------------------------------------
Assignee: Szilard Nemeth
> Wrong error message in RM placement constraints check
> -----------------------------------------------------
>
> Key: YARN-8681
> URL: https://issues.apache.org/jira/browse/YARN-8681
> Project: Hadoop YARN
> Issue Type: Bug
> Components: scheduler
> Affects Versions: 3.2.0, 3.1.1
> Reporter: Daniel Templeton
> Assignee: Szilard Nemeth
> Priority: Major
>
> In
> {{SingleConstraintAppPlacementAllocator.validateAndSetSchedulingRequest()}} I
> see the following:
> {code} if (singleConstraint.getMinCardinality() != 0
> || singleConstraint.getMaxCardinality() != 0) {
> throwExceptionWithMetaInfo(
> "Only support anti-affinity, which is: minCardinality=0, "
> + "maxCardinality=1");
> }{code}
> I think the error message should say {{"maxCardinality=0"}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]