关注 spark技术分享,
撸spark源码 玩spark最佳实践

Developing RPC Environment

Developing RPC Environment

Caution
  • Create the exercise

  • It could be easier to have an exercise to register a custom RpcEndpoint (it can receive network events known to all endpoints, e.g. RemoteProcessConnected = “a new node connected” or RemoteProcessDisconnected = a node disconnected). That could be the only way to know about the current runtime configuration of RpcEnv. Use SparkEnv.rpcEnv and rpcEnv.setupEndpoint(name, endpointCreator) to register a RPC Endpoint.

Start simple using the following command:

赞(0) 打赏
未经允许不得转载:spark技术分享 » Developing RPC Environment
分享到: 更多 (0)

关注公众号:spark技术分享

联系我们联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏