bipinprasad opened a new pull request #3215: Storm3585 - New compact Constraint config including maxCoLocationCnt URL: https://github.com/apache/storm/pull/3215 Config.TOPOLOGY_RAS_CONSTRAINTS for use by ConstraintSolverStrategy can be specified in a new compact format that will allow specification of MaxCoLocationCnt. Config.TOPOLOGY_SPREAD_COMPONENTS is deprecated (and is equivalent to specifying 1 as the MaxCoLocationCnt for the components. New style Config.TOPOLOGY_RAS_CONSTRAINTS is map where each component has a list of other incompatible components and an optional number that specifies the maximum co-location count for the component on a node, example: <pr/> { "comp-1": [ 2, "comp-2", "comp-3" ], # comp-1 cannot exist on same node as comp-2 or comp-3, and at most 2 comp-1 same node "comp-2": [ "comp-4" ] # comp-2 and comp-4 cannot be on same node (missing comp-1 is implied from comp-1 constraint) }
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
