GitHub user vanzin opened a pull request:

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

    [SPARK-11563] [core] [repl] Use RpcEnv to transfer REPL-generated classes.

    This avoids bringing up yet another HTTP server on the driver, and
    instead reuses the file server already managed by the driver's
    RpcEnv. As a bonus, the repl now inherits the security features of
    the network library.
    
    A few small fixes were made to bugs uncovered by these changes:
    - NettyRpcEnv::openStream() now correctly propagates errors to
      the read side of the pipe.
    - NettyStreamManager now throws if the file being transferred does
      not exist
    - The network library now correctly handles zero-sized streams.

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

    $ git pull https://github.com/vanzin/spark SPARK-11563

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

    https://github.com/apache/spark/pull/9923.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 #9923
    
----
commit ddd1624710ab879e749040d3a97eb35341ce1308
Author: Marcelo Vanzin <[email protected]>
Date:   2015-11-09T21:15:23Z

    [SPARK-11563] [core] [repl] Use RpcEnv to transfer REPL-generated classes.
    
    This avoids bringing up yet another HTTP server on the driver, and
    instead reuses the file server already managed by the driver's
    RpcEnv. As a bonus, the repl now inherits the security features of
    the network library.
    
    A few small fixes were made to bugs uncovered by these changes:
    - NettyRpcEnv::openStream() now correctly propagates errors to
      the read side of the pipe.
    - NettyStreamManager now throws if the file being transferred does
      not exist
    - The network library now correctly handles zero-sized streams.

----


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