[jira] [Updated] (SPARK-14542) PipeRDD should allow configurable buffer size for the stdin writer

2016-05-10 Thread Sean Owen (JIRA)

 [ 
https://issues.apache.org/jira/browse/SPARK-14542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Owen updated SPARK-14542:
--
Assignee: Sital Kedia

> PipeRDD should allow configurable buffer size for the stdin writer 
> ---
>
> Key: SPARK-14542
> URL: https://issues.apache.org/jira/browse/SPARK-14542
> Project: Spark
>  Issue Type: Improvement
>Affects Versions: 1.6.1
>Reporter: Sital Kedia
>Assignee: Sital Kedia
>Priority: Minor
> Fix For: 2.0.0
>
>
> 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. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Updated] (SPARK-14542) PipeRDD should allow configurable buffer size for the stdin writer

2016-04-11 Thread Sital Kedia (JIRA)

 [ 
https://issues.apache.org/jira/browse/SPARK-14542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sital Kedia updated SPARK-14542:

Description: 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.   
(was: Currently {code}PipedRDD{code} 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. )

> PipeRDD should allow configurable buffer size for the stdin writer 
> ---
>
> Key: SPARK-14542
> URL: https://issues.apache.org/jira/browse/SPARK-14542
> Project: Spark
>  Issue Type: Improvement
>Affects Versions: 1.6.1
>Reporter: Sital Kedia
>Priority: Minor
>
> 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. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Updated] (SPARK-14542) PipeRDD should allow configurable buffer size for the stdin writer

2016-04-11 Thread Sital Kedia (JIRA)

 [ 
https://issues.apache.org/jira/browse/SPARK-14542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sital Kedia updated SPARK-14542:

Description: Currently {code}PipedRDD{code} 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.   (was: 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. )

> PipeRDD should allow configurable buffer size for the stdin writer 
> ---
>
> Key: SPARK-14542
> URL: https://issues.apache.org/jira/browse/SPARK-14542
> Project: Spark
>  Issue Type: Improvement
>Affects Versions: 1.6.1
>Reporter: Sital Kedia
>Priority: Minor
>
> Currently {code}PipedRDD{code} 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. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org