You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/03/06 09:13:53 UTC

[GitHub] [spark] fitermay opened a new pull request #23986: SPARK-27070

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:
users@infra.apache.org


With regards,
Apache Git Services

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