fitermay opened a new pull request #23986: SPARK-27070
URL: https://github.com/apache/spark/pull/23986
 
 
   When trying to coalesce a UnionRDD of two large FileScanRDDs
   (each with a few million partitions) into around 8k partitions
   the driver can stall for over an hour.
   
   Profiler shows that over 90% of the time is spent in TimSort
   which is invoked by `pickBin`.  This patch replaces sorting with a more
   efficient `min` for the purpose of finding the least occupied
   PartitionGroup

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to