Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-3696

UIMA-AS while quiescing should wait for AE.destroy() to finish

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.4.2AS
    • 2.6.0AS
    • Async Scaleout
    • None

    Description

      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.

      Attachments

        Activity

          People

            cwiklik Jaroslaw Cwiklik
            cwiklik Jaroslaw Cwiklik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: