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 2022/09/19 05:38:18 UTC

[GitHub] [spark] mridulm commented on pull request #37922: [SPARK-40480][SHUFFLE] Remove push-based shuffle data after query finished

mridulm commented on PR #37922:
URL: https://github.com/apache/spark/pull/37922#issuecomment-1250590696

   We should decouple current implementation details when making protocol changes, and make it extensible for future evolution.
   
   In this case though, it is much more straightforward - there is an existing usecase which requires shuffle merge id.
   When retrying an indeterminate stage, we should cleanup merged shuffle data for previous stage attempt (in `submitMissingTasks`, before `unregisterAllMapAndMergeOutput`) - and given the potential race conditions there, we dont want `RemoveShuffleMerge` to clean up for the next attempt (when we add support for this).
   
   This specific change can be done in a follow up PR though - I want to get the basic mechanics working in this PR, and ensure the cleanup usecase is handled - before looking at further enhancements.
   


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

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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