Github user tweise commented on a diff in the pull request:
https://github.com/apache/incubator-apex-core/pull/250#discussion_r57508511
--- Diff:
engine/src/main/java/com/datatorrent/stram/ResourceRequestHandler.java ---
@@ -153,11 +177,22 @@ public String getHost(ContainerStartRequest csr,
boolean first)
// the host requested didn't have the resources so looking for other
hosts
host = null;
+ List<String> antiHosts = new ArrayList<>();
+ List<String> antiPreferredHosts = new ArrayList<>();
+ if (!c.getStrictAntiPrefs().isEmpty()) {
+ // Check if containers are allocated already for the anti-affinity
+ // containers
--- End diff --
extra line break
---
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.
---