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

    https://github.com/apache/spark/pull/1758#discussion_r15828145
  
    --- Diff: 
core/src/test/scala/org/apache/spark/network/ConnectionManagerSuite.scala ---
    @@ -223,7 +223,30 @@ class ConnectionManagerSuite extends FunSuite {
         managerServer.stop()
       }
     
    +  test("Ack error message") {
    +    val conf = new SparkConf
    +    conf.set("spark.authenticate", "false")
    +    val securityManager = new SecurityManager(conf)
    +    val manager = new ConnectionManager(0, conf, securityManager)
    +    val managerServer = new ConnectionManager(0, conf, securityManager)
    --- End diff --
    
    Take a look at the next line: `managerServer` has a handler for processing 
received messages, but that handler just crashes by throwing an Exception.
    
    In this test, `managerServer` is the remote server that crashes while 
processing messages, while `manager` is the "client" that sends a message to 
that buggy server.  Prior to this patch, `manager` would either hang or time 
out in this error condition, rather than raising an exception.


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