GitHub user lw-lin opened a pull request: https://github.com/apache/spark/pull/14256
[SPARK-16620][CORE] Add back tokenization process in RDD.pipe(command: String) ## What changes were proposed in this pull request? Currently `RDD.pipe(command: String)`: - works only with a single command with no option specified, such as `RDD.pipe("wc")` - does not work when command is specified with some options, such as `RDD.pipe("wc -l")` This is a regression from Spark 1.6. This patch adds back tokenization process in RDD.pipe(command: String). ## How was this patch tested? Added a test which would pass in 1.6, would fail prior to this patch, and would pass after this patch. You can merge this pull request into a Git repository by running: $ git pull https://github.com/lw-lin/spark rdd-pipe Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/14256.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 #14256 ---- commit 85174658b5392b5fd9773a89ee7b24a3db08c334 Author: Liwei Lin <lwl...@gmail.com> Date: 2016-07-19T05:34:46Z Fix pipe(command) & pipe(command, env) ---- --- 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