GitHub user superbobry opened a pull request:

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

    [SPARK-19353][CORE] Generalize PipedRDD to use I/O formats

    ## What changes were proposed in this pull request?
    
    This patch allows to use arbitrary input and output formats when
    streaming data to and from the piped process. The API uses
    java.io.Data{Input,Output} for I/O, therefore all methods operating
    on multibyte primitives assume big-endian byte order.
    
    The change is fully backward-compatible in terms of both public API
    and behaviour. Additionally, existing line-based format is available
    via TextInputWriter/TextOutputReader.
    
    ## How was this patch tested?
    
    PipedRDD unit tests and in-house integration tests.

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

    $ git pull https://github.com/criteo-forks/spark pipe-binary-io-upstream

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

    https://github.com/apache/spark/pull/17230.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 #17230
    
----
commit 1265fda3c7399a635b985565b0d915d901d48382
Author: Sergei Lebedev <[email protected]>
Date:   2017-01-26T17:30:25Z

    [SPARK-19353][CORE] Generalize PipedRDD to use I/O formats
    
    This commit allows to use arbitrary input and output formats when
    streaming data to and from the piped process. The API uses
    java.io.Data{Input,Output} for I/O, therefore all method operating
    on multibyte primitives assume big-endian byte order.
    
    The change is fully backward-compatible in terms of both public API
    and behaviour. Additionally, existing line-based format is available
    via TextInputWriter/TextOutputReader.

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to