uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerry Cwiklik (JIRA)" <...@uima.apache.org>
Subject [jira] [Created] (UIMA-3696) UIMA-AS while quiescing should wait for AE.destroy() to finish
Date Wed, 26 Mar 2014 21:00:18 GMT
Jerry Cwiklik created UIMA-3696:
-----------------------------------

             Summary: 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.5.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)

Mime
View raw message