[
https://issues.apache.org/jira/browse/ASTERIXDB-1551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Blow resolved ASTERIXDB-1551.
-------------------------------------
Resolution: Fixed
This was fixed:
Repository: asterixdb
Updated Branches:
refs/heads/master 79ccdac8a -> 6448824af
ASTERIXDB-1551: Shutdown Servlet Delays Shutdown
Change-Id: I80d74b13dc3aa8df9aedf49cb766751e4c091198
Reviewed-on: https://asterix-gerrit.ics.uci.edu/1026
Tested-by: Jenkins <[email protected]>
Sonar-Qube: Jenkins <[email protected]>
Integration-Tests: Jenkins <[email protected]>
Reviewed-by: Till Westmann <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/asterixdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/asterixdb/commit/6448824a
Tree: http://git-wip-us.apache.org/repos/asf/asterixdb/tree/6448824a
Diff: http://git-wip-us.apache.org/repos/asf/asterixdb/diff/6448824a
Branch: refs/heads/master
Commit: 6448824afa714c65c319250988b8dc26fc9181c1
Parents: 79ccdac
Author: Michael Blow <[email protected]>
Authored: Wed Jul 27 09:24:42 2016 -0400
Committer: Michael Blow <[email protected]>
Committed: Wed Jul 27 16:16:30 2016 -0700
> 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
> Labels: soon
> 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)