Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-10997

Netty-based RPC env should support a "client-only" mode.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.6.0
    • Spark Core
    • None

    Description

      The new netty RPC still behaves too much like akka; it requires both client (e.g. an executor) and server (e.g. the driver) to listen for incoming connections.

      That is not necessary, since sockets are full-duplex and RPCs should be able to flow either way on any connection. Also, because the semantics of the netty-based RPC don't exactly match akka, you get weird issues like SPARK-10987.

      Supporting a client-only mode also reduces the number of ports Spark apps need to use.

      Attachments

        Issue Links

          Activity

            People

              vanzin Marcelo Masiero Vanzin
              vanzin Marcelo Masiero Vanzin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: