[
https://issues.apache.org/jira/browse/UIMA-6391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on UIMA-6391 started by Richard Eckart de Castilho.
--------------------------------------------------------
> 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)