[
https://issues.apache.org/jira/browse/NIFI-7947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17393847#comment-17393847
]
ASF subversion and git services commented on NIFI-7947:
-------------------------------------------------------
Commit 9bf3b5503434e8a1dad5453b54a38dfaf079467c in nifi's branch
refs/heads/main from Lehel Boér
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=9bf3b55 ]
NIFI-7947: Add directory deletion functionality in DeleteAzureDataLakeStorage
This closes #5190.
Signed-off-by: Peter Turcsanyi <[email protected]>
> DeleteAzureDataLakeStorage Processor cannot delete non empty folder
> -------------------------------------------------------------------
>
> Key: NIFI-7947
> URL: https://issues.apache.org/jira/browse/NIFI-7947
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Reporter: Stan Antyufeev
> Assignee: Lehel Boér
> Priority: Major
> Time Spent: 50m
> Remaining Estimate: 0h
>
> The current implementation of DeleteAzureDataLakeStorage version
> 1.11.4.3.5.1.19-1 cannot delete non empty folder if you specify a folder name
> in "File name" field and leave empty "Directory name" field.
> The error message is
> DeleteAzureDataLakeStorage[id=50e969ee-0175-1000-0000-000031e844c3] Failed to
> delete the specified file from Azure Data Lake Storage:
> com.azure.storage.file.datalake.models.DataLakeStorageException: Status code
> 409, "\{"error":{"code":"DirectoryNotEmpty","message":"The recursive query
> parameter value must be true to delete a non-empty
> directory.\nRequestId:525ebddf-c01f-00cf-19a8-abcb94000000\nTime:2020-10-26T15:01:35.0517746Z"}}
>
> The azcopy command has extra flag "-recursive" to delete non-empty folders:
> [https://docs.microsoft.com/en-us/azure/storage/common/storage-ref-azcopy-remove]
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)