GitHub user adityasharad opened a pull request:
https://github.com/apache/storm/pull/2143
STORM-2503: Restore comparator logic in `DefaultResourceAwareStrategy`.
This PR ensures consistent comparator ordering in the above class, using
descending order in both `sortNeighbors` and `sortComponents` and adding
comments to indicate descending order.
As requested by @jerrypeng on https://github.com/apache/storm/pull/2100.
@revans2
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/adityasharad/storm
fix/resource-aware-strategy-neighbors
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/storm/pull/2143.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 #2143
----
commit 3ceaba8873ff172285231f1234713df053d7e96d
Author: Aditya Sharad <[email protected]>
Date: 2017-05-29T14:04:46Z
STORM-2503: Restore comparator logic in `DefaultResourceAwareStrategy`.
Use descending order in both `sortNeighbors` and `sortComponents`.
Add comments to indicate descending order.
----
---
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.
---