Richard Eckart de Castilho created UIMA-6391:
------------------------------------------------

             Summary: 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
             Fix For: 3.2.1uimaFIT


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.3.4#803005)

Reply via email to