Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 09-25-2017 02:21 PM
Is there a way to copy and retain recursive folder structure using Nifi? I am able to copy individual files, but it would be great to be able to copy subfolders.
Created 09-25-2017 02:42 PM
If you are using GetFile and PutFile processors to copy individual files, they can also be used for recursive folder structure.
One of the attributes written by GetFile is the folder path of the file, so you can use PutFile to create the folder structure in the new location.
Created 09-25-2017 02:42 PM
If you are using GetFile and PutFile processors to copy individual files, they can also be used for recursive folder structure.
One of the attributes written by GetFile is the folder path of the file, so you can use PutFile to create the folder structure in the new location.
Created 09-25-2017 03:01 PM
Yes, the ListFile writes the same attributes. But, make sure the user running NiFi has the permissions to create directories in HDFS.
Created 09-25-2017 02:55 PM
Sorry, I should have clarified this some more. I am currently using ListFile, FetchFile, and PutHDFS. Do the same settings apply?