Github user tgravescs commented on the pull request:
https://github.com/apache/spark/pull/11327#issuecomment-216339359
Ok, I replaced the location iterator and now get all the preferred
locations up front. This made the run time of the this go from around a minute
down to around 6 seconds.
I kept most of the logic the same and just changed how its getting the
locations.
---
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]