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: [email protected]
For additional commands, e-mail: [email protected]