mccheah opened a new pull request #25341: [SPARK-28607][CORE][SHUFFLE] Don't 
store partition lengths twice.
URL: https://github.com/apache/spark/pull/25341
 
 
   ## What changes were proposed in this pull request?
   
   The shuffle writer API introduced in SPARK-28209 has a flaw that leads to a 
memory usage regression - we ended up tracking the partition lengths in two 
places. Here, we modify the API slightly to avoid redundant tracking. The 
implementation of the shuffle writer plugin is now responsible for tracking the 
lengths of partitions, and propagating this back up to the higher shuffle 
writer as part of the commitAllPartitions API.
   
   ## How was this patch tested?
   
   Existing unit tests.
   

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