[
https://issues.apache.org/jira/browse/APEXCORE-10?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15172787#comment-15172787
]
ASF GitHub Bot commented on APEXCORE-10:
----------------------------------------
GitHub user ishark opened a pull request:
https://github.com/apache/incubator-apex-core/pull/250
APEXCORE-10 #resolve Changes for supporting anti-affinity in operators
Added list of affinity rules as attribute in DAGContext
Added validation for affinity, anti-affinity and locality rules in dag
validate phase
Added handling of Container and Node affinity rules. Rack affinity is not
supported at this point
Also added Changes for supporting Node specific request in Cloudera
Added Unit tests for affinity rules and dag validation for the same
Added Json String codec for setting affinity rules through properties.xml
Added Set Affinity and anti -affinity APIs to dag
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ishark/incubator-apex-core APEXCORE-10
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-apex-core/pull/250.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #250
----
commit d62a21e73b069fc66af0102f8b8884758abfb252
Author: ishark <[email protected]>
Date: 2016-02-29T22:16:51Z
APEXCORE-10 #resolve Changes for supporting anti-affinity amongst operators
Added list of affinity rules as attribute in DAGContext
Added validation for affinity, anti-affinity and locality rules in dag
validate phase
Added handling of Container and Node affinity rules. Rack affinity is not
supported at this point
Also added Changes for supporting Node specific request in Cloudera
Added Unit tests for affinity rules and dag validation for the same
Added Json String codec for setting affinity rules through properties.xml
Added Set Affinity and anti -affinity APIs to dag
----
> Enable non-affinity of operators per node (not containers)
> ----------------------------------------------------------
>
> Key: APEXCORE-10
> URL: https://issues.apache.org/jira/browse/APEXCORE-10
> Project: Apache Apex Core
> Issue Type: Task
> Reporter: Amol Kekre
> Assignee: Isha Arkatkar
> Labels: roadmap
>
> The issue happens on cloud which provides virtual cores with software like
> Xen underneath. In effect if CPU intensive operators land up on same node we
> have a resource bottleneck,
> Need to create an attribute that does the following
> - Operators A & B should not be on same node
> - Stram should use this attribute to try to get containers on different node
> It is understood that the user is making an explicit choice to use NIC
> instead of stream local optimization
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)