This processor is responsible for uploading files to Azure Data Lake Storage Gen2.
File uploading and cleanup process in case of "Write and Rename" strategy
New file upload
- A temporary file is created with random prefix under the given path in '_nifitempdirectory'.
- Content is appended to temp file.
- Temp file is moved to the final destination directory and renamed to its original name.
- In case of appending or renaming failure, the temp file is deleted.
- In case of temporary file deletion failure, the temp file remains on the server.
Existing file upload
- Processors with "fail" conflict resolution strategy will direct the FlowFile to "Failure" relationship.
- Processors with "ignore" conflict resolution strategy will direct the FlowFile to "Success" relationship.
- Processors with "replace" conflict resolution strategy:
- A temporary file is created with random prefix under the given path in '_nifitempdirectory'.
- Content is appended to temp file.
- Temp file is moved to the final destination directory and renamed to its original name, the original file is overwritten.
- In case of appending or renaming failure, the temp file is deleted and the original file remains intact.
- In case of temporary file deletion failure, both temp file and original file remain on the server.
File uploading and cleanup process in case of "Simple Write" strategy
New file upload
- An empty file is created at its final destination.
- Content is appended to the file.
- In case of appending failure, the file is deleted.
- In case of file deletion failure, the file remains on the server.
Existing file upload
- Processors with "fail" conflict resolution strategy will direct the FlowFile to "Failure" relationship.
- Processors with "ignore" conflict resolution strategy will direct the FlowFile to "Success" relationship.
- Processors with "replace" conflict resolution strategy:
- An empty file is created at its final destination, the original file is overwritten.
- Content is appended to the file.
- In case of appending failure, the file is deleted and the original file is not restored.
- In case of file deletion failure, the file remains on the server.