You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Richard Eckart de Castilho (Jira)" <de...@uima.apache.org> on 2022/03/02 09:07:00 UTC

[jira] [Resolved] (UIMA-6391) CpePipeline should kill CPE if reader throws exception

     [ https://issues.apache.org/jira/browse/UIMA-6391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Eckart de Castilho resolved UIMA-6391.
----------------------------------------------
    Resolution: Fixed

> CpePipeline should kill CPE if reader throws exception
> ------------------------------------------------------
>
>                 Key: UIMA-6391
>                 URL: https://issues.apache.org/jira/browse/UIMA-6391
>             Project: UIMA
>          Issue Type: Bug
>          Components: uimaFIT
>            Reporter: Richard Eckart de Castilho
>            Assignee: Richard Eckart de Castilho
>            Priority: Major
>             Fix For: 3.3.0uimaFIT
>
>
> The {{CpePipeline}} listens for exceptions being thrown while a collection is being processed, but it only collects the exceptions and fails at the end instead of trying to stop and kill the CPE when the first exception is encountered.
> The {{CpeBuilder}} set {{proc.setMaxErrorCount(0)}} for analysis engines to achieve a fail-fast behavior, but for collection readers, there is no such setting.
> The listener registered by the {{CpePipeline}} should try to kill the CPE when an exception from the reader or analysis engine is encountered.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)