GitHub user kishorvpatil opened a pull request:
https://github.com/apache/storm/pull/2631
[STORM-3025] Optimize Cluster methods with Caching to avoid loopy loops
Optimizing the `Cluster` methods that are called from with high frequency
calls to speed-up scheduling time on new topologies on large clusters.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kishorvpatil/incubator-storm storm3025
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/storm/pull/2631.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 #2631
----
commit 46486d87fc8a26262d75abc05c1398afceee687c
Author: Kishor Patil <kpatil@...>
Date: 2018-04-10T21:42:03Z
Remove loopy loops in scheduler cluster state
commit caf7f885d6c10eaed440b02ec345e863af700762
Author: Kishor Patil <kpatil@...>
Date: 2018-04-10T22:10:10Z
Clean up caching vars from Cluster
commit b57654c8a90705029ba3555ccd75d7056051c31c
Author: Kishor Patil <kpatil@...>
Date: 2018-04-10T22:42:54Z
Cache supervisor to Used Ports in Cluster state
----
---