You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Michael Blow (JIRA)" <ji...@apache.org> on 2016/07/27 05:42:20 UTC

[jira] [Created] (ASTERIXDB-1551) Shutdown servlet delays shutdown

Michael Blow created ASTERIXDB-1551:
---------------------------------------

             Summary: Shutdown servlet delays shutdown
                 Key: ASTERIXDB-1551
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1551
             Project: Apache AsterixDB
          Issue Type: Bug
          Components: AsterixDB
            Reporter: Michael Blow
            Assignee: Michael Blow


Shutting down the Asterix cluster via the ShutdownAPIServlet causes a 9 second delay before an exception is thrown and the shutdown can proceed, due to the servlet request itself blocking the shutdown.  After the 9 second delay, the following exception is thrown, causing the servlet to exit, unblocking the shutdown:

SEVERE: CC refused to release connection after 9 seconds
org.apache.hyracks.ipc.exceptions.IPCException: CC refused to release connection after 9 seconds
	at org.apache.hyracks.api.client.HyracksClientInterfaceRemoteProxy.stopCluster(HyracksClientInterfaceRemoteProxy.java:131)
	at org.apache.hyracks.api.client.HyracksConnection.stopCluster(HyracksConnection.java:191)
	at org.apache.asterix.api.http.servlet.ShutdownAPIServlet.doPost(ShutdownAPIServlet.java:60)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)




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