jerqi commented on code in PR #40339: URL: https://github.com/apache/spark/pull/40339#discussion_r1130315958
########## core/src/main/scala/org/apache/spark/MapOutputTracker.scala: ########## @@ -1113,7 +1113,7 @@ private[spark] class MapOutputTrackerMaster( endMapIndex: Int): Seq[String] = { val shuffleStatus = shuffleStatuses.get(dep.shuffleId).orNull - if (shuffleStatus != null) { + if (shuffleStatus != null && shuffleLocalityEnabled) { Review Comment: Ok, I will change it. -- 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. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org