hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Netherton (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-18654) HBaseTestingUtility - sessions still active after cluster shutdown
Date Tue, 22 Aug 2017 19:36:00 GMT
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)

Mime
View raw message