You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (JIRA)" <de...@uima.apache.org> on 2012/06/21 18:25:44 UTC
[jira] [Closed] (UIMA-2423) UIMA AS Client doesnt work correctly
when running with user specified Collection Reader
[ https://issues.apache.org/jira/browse/UIMA-2423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jerry Cwiklik closed UIMA-2423.
-------------------------------
Resolution: Fixed
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.
> UIMA AS Client doesnt work correctly when running with user specified Collection Reader
> ---------------------------------------------------------------------------------------
>
> Key: UIMA-2423
> URL: https://issues.apache.org/jira/browse/UIMA-2423
> Project: UIMA
> Issue Type: Bug
> Components: Async Scaleout
> Reporter: Jerry Cwiklik
> Fix For: 2.4.0AS
>
>
> 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().
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira