|
@@ -149,7 +149,10 @@ public final class PlacementConstraintsUtil {
|
|
|
} else if (currentExp.getTargetType().equals(TargetType.NODE_ATTRIBUTE)
|
|
|
&& currentExp.getTargetKey().equals(NODE_PARTITION)) {
|
|
|
// This is a node partition expression, check it.
|
|
|
- canSatisfyNodePartitionConstraintExpresssion(currentExp, schedulerNode);
|
|
|
+ if (!canSatisfyNodePartitionConstraintExpresssion(currentExp,
|
|
|
+ schedulerNode)) {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
// return true if all targetExpressions are satisfied
|