meetjain74 commented on issue #8704: URL: https://github.com/apache/storm/issues/8704#issuecomment-4524476102
**Case: Current Implementation of Isolation Scheduler (Shuffle post sort)** Everytime random machines are selected for topology deployment and it might happen those machines do not have adequate slots for the topology to fit leading to deployment failure or it might happen it pick machines which requires more number of evictions. **Case: Shuffle is dropped for Isolation Scheduler and Decreasing Order of Assignable Slots** The machines are sorted in decreasing order of assignable slots and picked from the list in this order. This always ensures that the machines with the most assignable slots will be picked first compared to machines with less number of assignable slots. If all machines have the same number of slots, the chosen host is whichever hostname comes first in the local HashMap’s bucket order (driven by hostname hashCode()) (Input order comes from HashMap.entrySet() iteration, which is hash-bucket order, not config, not alphabetical, not load-based) -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
