Github user abellina commented on the issue:
https://github.com/apache/storm/pull/1744
nimbus.clj, I made it to mkAssignments. Will continue from there later:
- nit: makeBlobCachMap -> makeBlobCacheMap
- change: `numDesiredWorkers < numAssignedWorkers` to `numDesiredWorkers >
numAssignedWorkers` in:
https://github.com/revans2/incubator-storm/blob/39148edf07f2028c2edcfecc53ea9bfac525988f/storm-core/src/jvm/org/apache/storm/daemon/nimbus/Nimbus.java#L1605
- in getResourcesForTopology: do we care if the values are set? (is_set_cpu
for example). Those values are doubles.
- nit: update comment //TODO remove both of swaps below at first
opportunity. But yeah "uglyResources" is right :)
---
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.
---