[
https://issues.apache.org/jira/browse/UIMA-3696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jerry Cwiklik resolved UIMA-3696.
---------------------------------
Resolution: Won't Fix
Tested UIMA-AS service shutdown in quiesce mode and see that the process waits
for destroy() to finish before exiting. Perhaps other fixes that went in
recently have fixed this. As far as I can tell the code works as expected.
> UIMA-AS while quiescing should wait for AE.destroy() to finish
> ----------------------------------------------------------------
>
> Key: UIMA-3696
> URL: https://issues.apache.org/jira/browse/UIMA-3696
> Project: UIMA
> Issue Type: Bug
> Components: Async Scaleout
> Affects Versions: 2.4.2AS
> Reporter: Jerry Cwiklik
> Assignee: Jerry Cwiklik
> Fix For: 2.6.0AS
>
>
> When quiescing, the UIMA-AS is not blocking waiting for AE.destroy() method
> to finish. Instead it waits for all CASes to finish and then returns. The
> consequence is that user code in destroy() may not run to completion if the
> jvm is stopping due to System.exit() call. It looks like, when shutdown hooks
> are registered, the jvm runs them to completion and then halts.
> Modify quiesce() method to block for all Process threads to finish before
> returning.
--
This message was sent by Atlassian JIRA
(v6.2#6252)