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

Modify dd2spring to handle UIMA-AS Aggregate Cas Multipliers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2.2AS
    • 2.3AS
    • Async Scaleout
    • None

    Description

      dd2spring determines if a component is a Cas Multiplier by checking the component's descriptor outputsNewCASes property. If the component is a CM, the dd2spring generates spring xml artifacts to create a special cas pool to be used to create new CASes. For a Primitive CM, this is necessary. As the Primitive CM actually creates new CASes from an input CAS it needs the special cas pool. If the CM is an Aggregate, this special cas pool is not necessary. The aggregate CM outputs new CASes, but it doesnt create them. It uses a shadow CAS Pool (one per remote CM delegate) to deserialize CASes instead. The current dd2spring code generates a warning when parsing a deployment descriptor containing an aggregate CM:

          • WARN: line-number: 34 deployment descriptor for analysisEngine: <key>Queue is for a CAS Multiplier (or Collection Reader wrapped as a CAS Multiplier). However, the <casMultiplier> element is missing. Defaulting to a poolSize of 1 for this case.

      Attachments

        Issue Links

          Activity

            People

              schor Marshall Schor
              cwiklik Jaroslaw Cwiklik
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: