You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Szilard Nemeth (JIRA)" <ji...@apache.org> on 2018/08/18 06:58:00 UTC
[jira] [Assigned] (YARN-8681) Wrong error message in RM placement
constraints check
[ 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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org