Github user ishark commented on a diff in the pull request:
https://github.com/apache/incubator-apex-core/pull/250#discussion_r58954585
--- Diff:
engine/src/main/java/com/datatorrent/stram/plan/physical/PhysicalPlan.java ---
@@ -357,25 +417,51 @@ public PhysicalPlan(LogicalPlan dag, PlanContext ctx)
{
if (!container.operators.isEmpty()) {
LOG.warn("Operator {} shares container without locality
contraint due to insufficient resources.", oper);
}
+ // TODO: Check if PT Operators conflict in anti-affinity, Pick
the first container that does not conflict
--- End diff --
This check cannot be done in logical Plan validation. Since, 2 operators
could be assigned to same container even if there is not locality constraint.
This may occur if maxContainer value is set less than the needed number of
containers for operator.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---