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

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

steveloughran commented on code in PR #6872:
URL: https://github.com/apache/hadoop/pull/6872#discussion_r1631044042


##########
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/BulkDeleteUtils.java:
##########
@@ -54,8 +54,8 @@ public static void validateBulkDeletePaths(Collection<Path> 
paths, int pageSize,
    * @return true if the path is under the base path.

Review Comment:
   update the comment to match the new code





> Bulk delete api doesn't take the path to delete as the base path
> ----------------------------------------------------------------
>
>                 Key: HADOOP-19196
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19196
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 3.5.0, 3.4.1
>            Reporter: Steve Loughran
>            Assignee: Mukund Thakur
>            Priority: Minor
>              Labels: pull-request-available
>
> If you use the path of the file you intend to delete as the base path, you 
> get an error. This is because the validation requires the list to be of 
> children, but the base path itself should be valid.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to