Ngone51 commented on pull request #28911: URL: https://github.com/apache/spark/pull/28911#issuecomment-656234537
@mridulm we don't and no need to do it. The current implementation of `getPreferredLocationsForShuffle` already treats blocks on the same node as the same locality preference(see L617): https://github.com/apache/spark/blob/6fcb70e0cadd8a543cd9be5f606c5dbeec0ae181/core/src/main/scala/org/apache/spark/MapOutputTracker.scala#L610-L624 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
