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

Puspendu Banerjee commented on NIFI-1045:
-----------------------------------------

Hi,
Understood & doable, but not sure how the following use-case will be met:
Say Nifi is pushing /updating file xyz to hdfs.
Application X is monitoring xyz for any change and on change it will fetch & 
process xyz.
Now, if we use new file name for updated xyz, X will have to monitor whole 
parent directory & process every file or have to directly couple with NiFi to 
get an event/notification/message about such action.

It's a design decision, so some trade-off is unavoidable & I would leave it up 
to you and [~trixpan].

Thanks,
Puspendu

> Add "backup suffix" Conflict Resolution Strategy to PutHDFS / PutFile 
> ----------------------------------------------------------------------
>
>                 Key: NIFI-1045
>                 URL: https://issues.apache.org/jira/browse/NIFI-1045
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>    Affects Versions: 0.3.0
>            Reporter: Andre
>
> It would be great if we could add a "backup suffix" conflict resolution 
> strategy to when saving files to FS/HDFS. This would act in a similar way to 
> rsync's  {{--backup --suffix}}
> The suffix could support Language expression (similar to using 
> {{--suffix=`date +"%F"`}} on rsync)



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

Reply via email to