You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Joseph Witt (JIRA)" <ji...@apache.org> on 2016/04/19 05:23:25 UTC

[jira] [Commented] (NIFI-1045) Add "backup suffix" Conflict Resolution Strategy to PutHDFS / PutFile

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

Joseph Witt commented on NIFI-1045:
-----------------------------------

[~puspendu.banerjee@gmail.com] For the most recent case you mention that is what the 'replace' option is for.  I reviewed the PR again and in my view the use cases you've outline are well served now by using PutHDFS w/FAILURE and UpdateAttribute to rename on failures or PutHDFS with replace.  If you agree this will address the needs please advise and PR230 and JIRA NIFI-1045 can be marked as addressed by flow configuration.

> 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)