uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (JIRA)" <...@uima.apache.org>
Subject [jira] [Commented] (UIMA-5191) Free instance of agreggate with cas multiplier in MultiprocessingAnalysisEngine
Date Wed, 23 Nov 2016 16:54:58 GMT

    [ https://issues.apache.org/jira/browse/UIMA-5191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15690698#comment-15690698
] 

Marshall Schor commented on UIMA-5191:
--------------------------------------

Nelson, can you build the uima-core jar from the current trunk and try the fix to see if it
works for you?

> Free instance of agreggate with cas multiplier in MultiprocessingAnalysisEngine
> -------------------------------------------------------------------------------
>
>                 Key: UIMA-5191
>                 URL: https://issues.apache.org/jira/browse/UIMA-5191
>             Project: UIMA
>          Issue Type: Bug
>    Affects Versions: 2.8.1SDK
>            Reporter: Nelson RIvera
>             Fix For: 3.0.0SDKexp, 2.9.1SDK
>
>
> I have a aggregate analysis engine that contains  2 casmultiplier
> annotators. I instantiate this aggregate with the interface
> UIMAFramework.produceAnalysisEngine(specifier, 1, 0) for multithreaded
> processing. The last casmultiplier generate more than one cas for each
> input CAS from first casmultiplier. The issue is that after first time that the last
casmultipler's hasNext method method returns false, the MultiprocessingAnalysisEngine_impl
assumes that the instance of
> AggregateAnalysisEngine that processes the request has ended, and
> then this instance is free to process ahother request from other thread, and it is not
true, because missing child cas to process from de first casmultipler, producing concurrency
errors.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message