TransportServer is…​FIXME

Creating TransportServer Instance

TransportServer takes the following when created:

When created, TransportServer init with the host and port to bind to.

TransportServer is created when TransportContext is requested to create a server.

init Internal Method

void init(String hostToBind, int portToBind)


init is used exclusively when TransportServer is created.

getPort Method

int getPort()


getPort is used when:

  • NettyRpcEnv is requested for the address

  • Spark on YARN’s YarnShuffleService is requested to serviceInit