Github user jinxing64 commented on the issue: https://github.com/apache/spark/pull/16989 @cloud-fan @mridulm I think it's good idea to make 2000 configurable. But checking the code, I'm a little bit hesitant to do that in this pr. I think it's bigger change and some related code need to update, like (`SHUFFLE_PREF_REDUCE_THRESHOLD` in `MapOutputTracker`). I added spark.reducer.maxReqSizeShuffleToMem(Int.MaxValue by default) and spark.shuffle.accurateBlockSizeThreshold(2*avgSize by default). Please take another look when you have time. Thanks a lot again for taking you so much time reviewing this pr :-) ð
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org