You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2021/11/03 17:33:30 UTC

[GitHub] [nifi] turcsanyip commented on a change in pull request #5423: NIFI-9260 Making the 'write and rename' behaviour optional for PutHDFS

turcsanyip commented on a change in pull request #5423:
URL: https://github.com/apache/nifi/pull/5423#discussion_r742180815



##########
File path: nifi-nar-bundles/nifi-hadoop-bundle/nifi-hdfs-processors/src/main/java/org/apache/nifi/processors/hadoop/PutHDFS.java
##########
@@ -133,6 +136,11 @@
     protected static final AllowableValue APPEND_RESOLUTION_AV = new AllowableValue(APPEND_RESOLUTION, APPEND_RESOLUTION,
             "Appends to the existing file if any, creates a new file otherwise.");
 
+    protected static final AllowableValue WRITE_AND_RENAME_AV = new AllowableValue(WRITE_AND_RENAME, "Write and rename",
+            "The processor writes FlowFile data into a temporary file and renames it after completion. This might prevent other processes from reading  partially written files.");

Review comment:
       "This prevents..." or "This can prevent..." would describe its purpose/behaviour more exactly.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@nifi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org