nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Sequeiros <helloj...@gmail.com>
Subject Re: How to lock getfile upto putfile write into same file?
Date Tue, 16 May 2017 17:53:31 GMT
Prabhu,

PutFile should pre-pend files with a "." while it is writing to it and then
in the end will copy the "." file to its "filename" value.

On GetFile side make sure that "ignore hidden files" is set to true.



On Tue, May 16, 2017 at 1:29 AM prabhu Mahendran <prabhuu161994@gmail.com>
wrote:

> I have scheduled getfile processor to 0 sec to track the local folder.
>
> Issue I have faced: PutFile is appending few flowfiles into single file.
> Getfile has been configured with keepsourcefile as false. So getfile is
> fetching partial content before putfile writes into local location.
>
> How to handle this issue? Can we lock the file till putfile/custom
> processor completely writes the file and remove lock once completed??
>

Mime
View raw message