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

    https://github.com/apache/spark/pull/3053#discussion_r19708329
  
    --- Diff: 
core/src/main/scala/org/apache/spark/network/netty/NettyBlockTransferService.scala
 ---
    @@ -106,5 +106,8 @@ class NettyBlockTransferService(conf: SparkConf) 
extends BlockTransferService {
         result.future
       }
     
    -  override def close(): Unit = server.close()
    +  override def close(): Unit = {
    +    server.close()
    +    clientFactory.close()
    --- End diff --
    
    This is the most significant leak, we'd leak one event loop per SparkContext


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