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

Bogus exception when response from parallel UIMA-AS annotator is received by UIMA runtime before all requests to the annotators in the parallel step are sent

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0AS, 2.4.2AS
    • Fix Version/s: 2.6.0AS
    • Component/s: Async Scaleout
    • Labels:
      None

      Description

      I have 3 UIMA-AS annotators in a parallel step. None of the annotators are modifying anything that already exists in the CAS. Most times things work well, but I randomly get a "preexisting FS encountered but not allowed exception".

      Looking at the UIMA logs (setting the log level for org.apache.uima to ALL) it becomes clear what's happening:

      --> request goes to annotator 1
      --> request goes to annotator 2
      <-- response received from annotator 1
      --> request goes to annotator 3 (CAS appears to contain information received from annotator 1)
      ...
      <-- response received from annotator 3 – bogus "preexisting FS but not allowed" exception is thrown

      Workaround that seems to work (but which I can't really depend on) is to order the parallel steps from slower to faster

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              guille30 Guillermo Averboch
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: