Github user ishark commented on the pull request:
https://github.com/apache/incubator-apex-core/pull/250#issuecomment-191536790
Testing Done:
1. Unit tests for Dag Validation scenarios
2. Unit tests for host allocation based on affinity rules
3. Tested following scenarios on Cloudera and Hortonworks:
- Anti-affinity between partitions of operators
- Anti-affinity between any two operators (stream connected and not
connected)
- Anti-affinity between parallel partitioned operators
- Node and Container Affinity between operators not connected by stream
- Node affinity between 2 Stream connected operators when the stream is
not Node Local
- Container affinity between 2 Stream connected operators when the
stream is not Node Local
- Affinity and Anti-affinity rules with Locality_host set for operator
- Out of resources condition in case of Strict Anti-affinity.
Application should keep waiting till resources are allocated as per rules
- Checked preferred anti-affinity rules are dropped if resources are not
available
---
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.
---