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

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

    [ https://issues.apache.org/jira/browse/SPARK-38401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17500582#comment-17500582 ] 

Apache Spark commented on SPARK-38401:
--------------------------------------

User 'ulysses-you' has created a pull request for this issue:
https://github.com/apache/spark/pull/35719

> 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
>            Priority: Major
>
> It has several issues with method `ShuffledRowRDD#getPreferredLocations`.
>  * 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