[ 
https://issues.apache.org/jira/browse/NIFI-528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15043858#comment-15043858
 ] 

Toivo Adams commented on NIFI-528:
----------------------------------

I may try to implement timeout functionality into ExecuteProcess.

Currently ExecuteProcess has only SUCCESS relationship.
Failure during processing leads to removing FlowFile and not sending to 
anywhere.

How to handle unsuccessful processing?
We separate reasons and have different routes for each?:

1. Normal goes to SUCCESS as usual.
2. General processing failure goes to FAILURE.
3. Timed out goes to TIMED_OUT
4. And cancelled goes to CANCELLED

Or combine them somehow?

Thanks
Toivo


> Add support to specify a timeout on ExecuteStreamCommand, ExecuteScript, and 
> ExecuteProcess 
> --------------------------------------------------------------------------------------------
>
>                 Key: NIFI-528
>                 URL: https://issues.apache.org/jira/browse/NIFI-528
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>            Reporter: Michael Wagner
>              Labels: beginner, processor
>
> Should be a way to specify a timeout on ExecuteStreamCommand, ExecuteScript, 
> and ExecuteProcess. If the script hung for some reason, kill the process and 
> move on, send the timeout flowfile to a failure route. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to