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

UIMA-AS aggregate fails to merge type system when running with 2.6.0 uima-sdk

    Details

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

      Description

      Recent optimization and error reporting changes in CasManager_impl in the 2.6.0 uima-sdk uncovered a uima-as aggregate bug in code which tries to merge type systems from delegates where one of them is a remote CM.

      See UIMA SDK JIRA:
      https://issues.apache.org/jira/browse/UIMA-1249

      The new uima sdk code complains if addMetaData method is called after CasPool is created. It turns out that the UIMA-As aggregate creates a Shadow CasPool for its remote delegate CasMultiplier before the type system is merged.

      Fix is to move the code that creates Shadow CasPool beyond where the merge occurs. After successful merge create the Pool.

        Attachments

          Activity

            People

            • Assignee:
              cwiklik Jerry Cwiklik
              Reporter:
              cwiklik Jerry Cwiklik
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: