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 12:26:00 UTC

[jira] [Created] (SPARK-38406) Improve perfermance of ShufflePartitionsUtil createSkewPartitionSpecs

XiDuo You created SPARK-38406:
---------------------------------

             Summary: Improve perfermance of ShufflePartitionsUtil createSkewPartitionSpecs
                 Key: SPARK-38406
                 URL: https://issues.apache.org/jira/browse/SPARK-38406
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.3.0
            Reporter: XiDuo You


If shuffle is skewed with tens of thousands of map partitions and reduce partitions in AQE, the method `ShufflePartitionsUtil#createSkewPartitionSpecs` will be very slow. More unfortunately, it is running at driver side.

 

See the Flame Graph of my local test env:

!image-2022-03-03-20-24-48-244.png!

We can see, a lot of cpu is running for build seq.

 



--
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