GitHub user heary-cao opened a pull request: https://github.com/apache/spark/pull/18174
Improve Serializerbuffersize and filebuffersize configurable ## What changes were proposed in this pull request? This PR Improvement in three: 1.With `spark.shuffle.file.buffer` configure fileBufferSizeBytes of UnsafeExternalSorter . 2.With `spark.shuffle.sort.initialSerBufferSize` configure SerializerBufferSize of UnsafeShuffleWriter. 3.Remove outputBufferSizeInBytes and inputBufferSizeInBytes to initialize in mergeSpillsWithFileStream function. ## How was this patch tested? The unit test. You can merge this pull request into a Git repository by running: $ git pull https://github.com/heary-cao/spark buffersize Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/18174.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 #18174 ---- commit ed248072db3611609e502b3082085c5905a83868 Author: caoxuewen <cao.xue...@zte.com.cn> Date: 2017-06-01T09:16:07Z Improve Serializerbuffersize and filebuffersize configurable ---- --- 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