You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "James Netherton (JIRA)" <ji...@apache.org> on 2017/08/22 19:36:00 UTC

[jira] [Created] (HBASE-18654) HBaseTestingUtility - sessions still active after cluster shutdown

James Netherton created HBASE-18654:
---------------------------------------

             Summary: 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.2.6, 1.3.1
            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)