[ 
https://issues.apache.org/jira/browse/HADOOP-19801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18148580#comment-18148580
 ] 

ASF GitHub Bot commented on HADOOP-19801:
-----------------------------------------

deepujain commented on PR #8306:
URL: https://github.com/apache/hadoop/pull/8306#issuecomment-7058959288

   Thank you both for the earlier review. The inline requests on this PR have 
been addressed on the current head (e1aed34f), and the reply summarizing how is 
here: https://github.com/apache/hadoop/pull/8306#issuecomment-7047879935. Yetus 
reports +1 overall and the Build workflow passed on this head, and the branch 
is mergeable. Two things are still open, and we would like your judgment on 
them. First, the deletion test added here checks the capability flag only; 
request-scoped header support is kept separate in HADOOP-19860 (#8417, still 
open), as discussed. Second, Cloud-AWS was skipped on this head and needs a 
maintainer to dispatch it, so deletion against a supporting endpoint has not 
been verified yet. Could you take another look and say whether the 
capability-flag change is acceptable on its own, with endpoint verification 
following once #8417 lands? If you would rather hold this until then, please 
say so and we will wait. Thank you for your time.




> Allow to skip recursive file deletion for non-empty directory
> -------------------------------------------------------------
>
>                 Key: HADOOP-19801
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19801
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: fs/s3
>            Reporter: Enrico Minack
>            Assignee: Deepak Jain (DJ)
>            Priority: Major
>              Labels: pull-request-available
>
> A non-empty directory, as well as a directory where its emptiness is unknown, 
> is deleted by listing all contained files (or objects with matching key 
> prefix), then deleting those files (objects) in bulk delete requests, and 
> finally deleting the (then) empty directory itself.
> The recursive deletion of objects is not needed for S3 endpoints that support 
> deleting non-empty directories (or path prefixes).
> For example: The [VAST S3 endpoint supports deleting non-empty 
> directories|https://kb.vastdata.com/documentation/docs/using-trash-folder-for-s3-objects-6]
>  with a single request. Such a feature can only be fully leveraged if 
> {{hadoop-aws}} coupd skip the recursive deletion.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to