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



##########
File path: 
nifi-nar-bundles/nifi-hadoop-bundle/nifi-hdfs-processors/src/main/java/org/apache/nifi/processors/hadoop/PutHDFS.java
##########
@@ -269,6 +287,11 @@ public Object run() {
                     final Path tempCopyFile = new Path(dirPath, "." + 
filename);
                     final Path copyFile = new Path(dirPath, filename);
 
+                    // Depending on the writing strategy, we might need a 
temporary file
+                    final Path actualCopyFile = 
(writingStrategy.equals(WRITE_AND_RENAME))

Review comment:
       Since temporary files are now only created if the WRITE AND RENAME 
strategy is chosen, I believe the comment on 335 is worth extending.




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to