Created 11-10-2016 05:18 AM
For e.g. PutHDFS processor, if the failure relationship is connected to itself
1) How to control the number of retries of a single flowfile?
2) I see "FlowFile Expiration" can be used to expire the message (meaning discard the Flowfile content if it cannot be reprocessed within a specified period of time). Is there a way to retain the FlowFile content after specified number of retries, that is to persist on a different channel say local file system (PutFile) and perhaps be able to send email notification ?
Created 11-10-2016 01:01 PM
@kumar
Check out this template as it will do exactly what you are looking for:
Just feed your failure relationship in to this process group and the output from this process group back to your processor.
Thanks,
Matt
Created 05-09-2017 12:41 PM
The "sleep" command is a linux command. The command simply runs and waits the configured amount of time before exiting. Typically this command in linux is found under /usr/bin/sleep. I noticed above is missing the leading "/" . But if it is still not found, try searching your linux for it. It is installed as part of the linux "coreutils" rpm.
Matt
Created 05-10-2017 05:03 AM
ok what is alternative command for windows .i already tried timeout and waitfor but both not work for me
Created 05-10-2017 12:57 PM
Created 05-10-2017 12:36 PM
I am not a Windows Admin and could not tell you off teh top of my head.
Created 06-12-2024 02:49 AM
The template is not working now. Are there any alternatives??