Github user zsxwing commented on a diff in the pull request:

    https://github.com/apache/spark/pull/9530#discussion_r44350637
  
    --- Diff: core/src/main/scala/org/apache/spark/rpc/netty/NettyRpcEnv.scala 
---
    @@ -501,13 +625,15 @@ private[netty] class NettyRpcHandler(
         dispatcher.postRemoteMessage(messageToDispatch, callback)
       }
     
    -  override def getStreamManager: StreamManager = new OneForOneStreamManager
    +  override def getStreamManager: StreamManager = streamManager
     
       override def exceptionCaught(cause: Throwable, client: TransportClient): 
Unit = {
         val addr = 
client.getChannel.remoteAddress().asInstanceOf[InetSocketAddress]
         if (addr != null) {
    -      val clientAddr = RpcAddress(addr.getHostName, addr.getPort)
    --- End diff --
    
    You added a new if `if (clients.containsKey(client)) {`. There was a 
similar logic here: 
https://github.com/apache/spark/pull/9210/files#diff-0c89b4a60c30a7cd2224bb64d93da942L477
 but you removed it. Now you are adding it back.


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