[
https://issues.apache.org/jira/browse/HADOOP-18727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17718864#comment-17718864
]
ASF GitHub Bot commented on HADOOP-18727:
-----------------------------------------
steveloughran commented on code in PR #5613:
URL: https://github.com/apache/hadoop/pull/5613#discussion_r1183469993
##########
hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/WriteOperations.java:
##########
@@ -192,11 +192,10 @@ int abortMultipartUploadsUnderPath(String prefix)
throws IOException;
/**
- * Abort multipart uploads under a path: limited to the first
- * few hundred.
- * @param prefix prefix for uploads to abort
- * @return a count of aborts
- * @throws IOException trouble; FileNotFoundExceptions are swallowed.
+ * List in-progress multipart uploads under a path
Review Comment:
does still look limited to a few hundred, so keep that bit in, as well as
adding a "." at the end. see the s3afs method it calls....
> Fix WriteOperations.listMultipartUploads function description
> -------------------------------------------------------------
>
> Key: HADOOP-18727
> URL: https://issues.apache.org/jira/browse/HADOOP-18727
> Project: Hadoop Common
> Issue Type: Task
> Components: tools
> Affects Versions: 3.3.2, 3.3.3, 3.3.4
> Reporter: Dongjoon Hyun
> Priority: Trivial
> Labels: pull-request-available
>
> {code:java}
> /**
> - * Abort multipart uploads under a path: limited to the first
> - * few hundred.
> - * @param prefix prefix for uploads to abort
> - * @return a count of aborts
> - * @throws IOException trouble; FileNotFoundExceptions are swallowed.
> + * List in-progress multipart uploads under a path
> + * @param prefix prefix for uploads to list
> + * @return a list of in-progress multipart uploads
> + * @throws IOException on problems
> */
> List<MultipartUpload> listMultipartUploads(String prefix) {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]