[ 
https://issues.apache.org/jira/browse/HBASE-18654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16256891#comment-16256891
 ] 

Evgenii Ganchurin commented on HBASE-18654:
-------------------------------------------

I reproduced the issue on 1.2.5. As mentioned in the description, the issue 
occurs on attempt to shutdown HBaseTestingUtility. Additionally, it blocks 
running one more instance of HBaseTestingUtility. Everything you can find in 
logs are instances of ConnectException thrown in infinite loop.
[~jamesnetherton] Were you able to solve the issue somehow?

> HBaseTestingUtility - sessions still active after cluster shutdown
> ------------------------------------------------------------------
>
>                 Key: HBASE-18654
>                 URL: https://issues.apache.org/jira/browse/HBASE-18654
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 1.3.1, 1.2.6
>            Reporter: James Netherton
>
> After calling {{shutdownMiniCluster()}} I see my logs littered with entries 
> like:
> {code}
> 2017-08-22 20:33:18 WARN  [org.apache.zookeeper.ClientCnxn] 
> (localhost:41049.activeMasterManager-SendThread(localhost:55128)) - Session 
> 0x15e0b6ef4fe0005 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:717)
>       at 
> org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
>       at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
> {code}
> I tried various versions of HBase and Zookeeper but I hit this problem 
> regardless. 
> You can replicate easily with a test that does:
> {code}
> HBaseTestingUtility utility = new HBaseTestingUtility();
> utility.startMiniCluster(1);
> utility.shutdownMiniCluster();
> Thread.sleep(30000);
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to