Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
3.2.0, 3.1.1
-
None
-
None
Description
In SingleConstraintAppPlacementAllocator.validateAndSetSchedulingRequest() I see the following:
if (singleConstraint.getMinCardinality() != 0 || singleConstraint.getMaxCardinality() != 0) { throwExceptionWithMetaInfo( "Only support anti-affinity, which is: minCardinality=0, " + "maxCardinality=1"); }
I think the error message should say "maxCardinality=0"