GitHub user tejasapatil opened a pull request:

    https://github.com/apache/spark/pull/14475

    [SPARK-16862] Configurable buffer size in `UnsafeSorterSpillReader`

    ## What changes were proposed in this pull request?
    
    Jira: https://issues.apache.org/jira/browse/SPARK-16862
    
    `BufferedInputStream` used in `UnsafeSorterSpillReader` uses the default 8k 
buffer to read data off disk. This PR makes it configurable to improve on disk 
reads. I have kept the default value to be same as it was before (8k) so there 
would not be any change in current behavior.
    
    ## How was this patch tested?
    
    I am relying on the existing unit tests.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tejasapatil/spark spill_buffer

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/14475.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 #14475
    
----
commit 6d6feef965d07cb18b6806b588c649637f52eb56
Author: Tejas Patil <tej...@fb.com>
Date:   2016-08-03T01:00:46Z

    [SPARK-16862] Configurable buffer size in `UnsafeSorterSpillReader`

----


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

Reply via email to