Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-6391

CpePipeline should kill CPE if reader throws exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0uimaFIT
    • uimaFIT
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              rec Richard Eckart de Castilho
              rec Richard Eckart de Castilho
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: