Github user JoshRosen commented on the pull request:
https://github.com/apache/spark/pull/5043#issuecomment-82529784
While looking this over, I noticed that
`BlockManager.blockIdsToExecutorIds` isn't called anywhere, so we should be
able to remove that method. After removing that method and this patch's
change, `BlockManager.blockIdsToHosts` is the only place which calls
`blockIdsToBlockManagers`, so we could fold those into a single method in order
to remove some unnecessary layers of indirection / collection creation.
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]