You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "XiDuo You (Jira)" <ji...@apache.org> on 2022/03/03 07:13:00 UTC

[jira] [Created] (SPARK-38401) Unify get preferred locations for shuffle in AQE

XiDuo You created SPARK-38401:
---------------------------------

             Summary: Unify get preferred locations for shuffle in AQE
                 Key: SPARK-38401
                 URL: https://issues.apache.org/jira/browse/SPARK-38401
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 3.3.0
            Reporter: XiDuo You


It has several issues in the method `getPreferredLocations` of `ShuffledRowRDD`.
 * it does not respect the config `spark.shuffle.reduceLocality.enabled`, so we can not disable it.
 * it does not respect `REDUCER_PREF_LOCS_FRACTION`, so it has no effect if DAG schedule task to an executor who has less data. In worse, driver will take more memory to store the useless locations.

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org