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 "Daniel Templeton (JIRA)" <ji...@apache.org> on 2018/08/17 20:25:00 UTC
[jira] [Created] (YARN-8681) Wrong error message in RM placement
constraints check
Daniel Templeton created YARN-8681:
--------------------------------------
Summary: 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.1.1, 3.2.0
Reporter: Daniel Templeton
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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org