Jerry Cwiklik created UIMA-5843:
-----------------------------------
Summary: UIMA-DUCC: pull service should support error window
Key: UIMA-5843
URL: https://issues.apache.org/jira/browse/UIMA-5843
Project: UIMA
Issue Type: Improvement
Components: DUCC
Reporter: Jerry Cwiklik
Assignee: Jerry Cwiklik
Fix For: 2.2.3-Ducc
Currently, a pull service terminates on the 1st process error. In some cases,
this might not be desirable. Add an error handler which supports an error
window. It should be based on max number of errors (ME) in a given window(W).
Examples:
(ME,W)
(0,0) - never terminate on errors
(1,1) - terminate on first error
(2, 5) - terminate on second error in a window of 5 tasks
The default will be (1,1).
For jobs, the Orchestrator will add two new -D's to JP command line if a job
spec defines a custom error window
ducc.deploy.service.error.threshold=ME
ducc.deploy.service.error.window=W
An application with an embedded PullService can change the default error window
by calling a new method of IServiceProcessor
public void setErrorHandlerWindow(int maxErrors, int windowSize);
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)