You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/07/27 23:17:20 UTC

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

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

ASF subversion and git services commented on ASTERIXDB-1551:
------------------------------------------------------------

Commit 6448824afa714c65c319250988b8dc26fc9181c1 in asterixdb's branch refs/heads/master from [~mblow]
[ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=6448824 ]

ASTERIXDB-1551: Shutdown Servlet Delays Shutdown

Change-Id: I80d74b13dc3aa8df9aedf49cb766751e4c091198
Reviewed-on: https://asterix-gerrit.ics.uci.edu/1026
Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
Sonar-Qube: Jenkins <je...@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
Reviewed-by: Till Westmann <ti...@apache.org>


> 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
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> 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)