diff options
author | Sital Kedia <skedia@fb.com> | 2016-05-10 15:28:35 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-05-10 15:28:35 +0100 |
commit | a019e6efb71e4dce51ca91e41c3d293cf3a6ccb8 (patch) | |
tree | f1d3996e25faac01f7b78ac5ff526a589597913a /common/network-yarn/src/main/java/org | |
parent | 570647267055cbe33291232b375e08fa1f5d8e7a (diff) | |
download | spark-a019e6efb71e4dce51ca91e41c3d293cf3a6ccb8.tar.gz spark-a019e6efb71e4dce51ca91e41c3d293cf3a6ccb8.tar.bz2 spark-a019e6efb71e4dce51ca91e41c3d293cf3a6ccb8.zip |
[SPARK-14542][CORE] PipeRDD should allow configurable buffer size for…
## What changes were proposed in this pull request?
Currently PipedRDD internally uses PrintWriter to write data to the stdin of the piped process, which by default uses a BufferedWriter of buffer size 8k. In our experiment, we have seen that 8k buffer size is too small and the job spends significant amount of CPU time in system calls to copy the data. We should have a way to configure the buffer size for the writer.
## How was this patch tested?
Ran PipedRDDSuite tests.
Author: Sital Kedia <skedia@fb.com>
Closes #12309 from sitalkedia/bufferedPipedRDD.
Diffstat (limited to 'common/network-yarn/src/main/java/org')
0 files changed, 0 insertions, 0 deletions