Github user shivaram commented on the pull request:
https://github.com/apache/spark/pull/6652#issuecomment-110182980
Thanks @kayousterhout for taking a look and proposing this new design. I
agree that its more cleaner than the top-5 locations and we only get up to 5
locations at the maximum with fraction as 0.2. I've updated the code to reflect
this now.
BTW I also removed caching the preferred locations in the map output
tracker. This made it messy to implement an API which accepted
`fractionThreshold` as an argument and I think the caching only helps in case
of speculative tasks / failures (so it shouldn't hurt us much).
---
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]