apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Akshay Gore <aks...@datatorrent.com>
Subject How to specify affinity rules from application properties file
Date Mon, 11 Jul 2016 10:32:04 GMT

I am trying to explore affinity feature in Apex. For this, I am using
pi-demo application from apex-malhar. As per the affinity document
I have updated the demo application's properties file as follows:

              "affinityRules": [
                                  "operatorsList": [
                                                   "locality": "NODE_LOCAL",
                                                   "type": "AFFINITY",
                                                   "relaxLocality": false

After launching the demo application, I don't see containers for operator
"rand" and "picalc" on the same node. Although it's working fine when I set
the rule from application code. Can anyone please help me here?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message