[ 
https://issues.apache.org/jira/browse/SPARK-11887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-11887:
------------------------------------

    Assignee: Apache Spark  (was: Josh Rosen)

> Close PersistenceEngine at end of tests
> ---------------------------------------
>
>                 Key: SPARK-11887
>                 URL: https://issues.apache.org/jira/browse/SPARK-11887
>             Project: Spark
>          Issue Type: Bug
>          Components: Tests
>            Reporter: Josh Rosen
>            Assignee: Apache Spark
>
> In PersistenceEngineSuite, we do not call {{close()}} on the 
> PersistenceEngine at the end of the test. For the ZooKeeperPersistenceEngine, 
> this causes us to leak a ZooKeeperClient, causing the test logs to be spammed 
> with connection error messages from that client:
> {code}
> 15/11/20 05:13:35.789 
> pool-1-thread-1-ScalaTest-running-PersistenceEngineSuite-SendThread(localhost:15741)
>  INFO ClientCnxn: Opening socket connection to server 
> localhost/127.0.0.1:15741. Will not attempt to authenticate using SASL 
> (unknown error)
> 15/11/20 05:13:35.790 
> pool-1-thread-1-ScalaTest-running-PersistenceEngineSuite-SendThread(localhost:15741)
>  WARN ClientCnxn: Session 0x15124ff48dd0000 for server null, unexpected 
> error, closing socket connection and attempting reconnect
> java.net.ConnectException: Connection refused
>       at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
>       at 
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739)
>       at 
> org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
>       at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to