[ https://issues.apache.org/jira/browse/SPARK-42719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17697891#comment-17697891 ]
Apache Spark commented on SPARK-42719: -------------------------------------- User 'jerqi' has created a pull request for this issue: https://github.com/apache/spark/pull/40339 > `MapOutputTracker#getMapLocation` should respect > `spark.shuffle.reduceLocality.enabled` > ---------------------------------------------------------------------------------------- > > Key: SPARK-42719 > URL: https://issues.apache.org/jira/browse/SPARK-42719 > Project: Spark > Issue Type: Improvement > Components: Spark Core > Affects Versions: 3.5.0 > Reporter: He Qi > Priority: Major > > Discuss as [https://github.com/apache/spark/pull/40307] > {{getPreferredLocations}} in {{ShuffledRowRDD}} should return {{Nil}} at the > very beginning in case {{spark.shuffle.reduceLocality.enabled = false}} > (conceptually). > This logic is pushed into MapOutputTracker though - and > {{getPreferredLocationsForShuffle}} honors > {{spark.shuffle.reduceLocality.enabled}} - but {{getMapLocation}} does not. > So the fix would be to fix {{getMapLocation}} to honor the parameter. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org