GitHub user squito opened a pull request: https://github.com/apache/spark/pull/21474
[SPARK-24297][CORE] Fetch-to-disk by default for > 2gb Fetch-to-mem is guaranteed to fail if the message is bigger than 2 GB, so we might as well use fetch-to-disk in that case. The message includes some metadata in addition to the block data itself (in particular UploadBlock has a lot of metadata), so we leave a little room. You can merge this pull request into a Git repository by running: $ git pull https://github.com/squito/spark SPARK-24297 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/21474.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #21474 ---- commit 6b7c4f716e13cc4dcde756e98478edffb9e0d0f5 Author: Imran Rashid <irashid@...> Date: 2018-05-31T21:35:01Z [SPARK-24297][CORE] Fetch-to-disk by default for > 2gb Fetch-to-mem is guaranteed to fail if the message is bigger than 2 GB, so we might as well use fetch-to-disk in that case. The message includes some metadata in addition to the block data itself (in particular UploadBlock has a lot of metadata), so we leave a little room. ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org