[ 
https://issues.apache.org/jira/browse/NIFI-7947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Turcsanyi updated NIFI-7947:
----------------------------------
    Fix Version/s: 1.15.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> 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
>             Fix For: 1.15.0
>
>          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)

Reply via email to