UIMA
  1. UIMA
  2. UIMA-2423

UIMA AS Client doesnt work correctly when running with user specified Collection Reader

    Details

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

      Description

      Uima-as client process() method is broken. When user's CR returns false from hasNext(), the code immediately calls collectionProcessComplete() even though there might be CASes still in-flight being processed. The code must wait until there are no outstanding (pending reply) CASes and only then call collectionProcessComplete().

        Activity

        Jerry Cwiklik created issue -
        Hide
        Jerry Cwiklik added a comment -

        Refactored uima-as process() method to wait until all CASes are accounted for before calling collectionProcessComplete(). Added new test case to the extended tests to test the CR scenario.

        Show
        Jerry Cwiklik added a comment - Refactored uima-as process() method to wait until all CASes are accounted for before calling collectionProcessComplete(). Added new test case to the extended tests to test the CR scenario.
        Jerry Cwiklik made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development