Explorar o código

HADOOP-18727. Fix WriteOperations.listMultipartUploads function description (#5613)

Contributed by Dongjoon Hyun
Dongjoon Hyun %!s(int64=2) %!d(string=hai) anos
pai
achega
4670f9e8b0

+ 4 - 4
hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/WriteOperations.java

@@ -191,11 +191,11 @@ public interface WriteOperations extends AuditSpanSource, Closeable {
       throws IOException;
 
   /**
-   * Abort multipart uploads under a path: limited to the first
+   * List in-progress 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.
+   * @param prefix prefix for uploads to list
+   * @return a list of in-progress multipart uploads
+   * @throws IOException on problems
    */
   List<MultipartUpload> listMultipartUploads(String prefix)
       throws IOException;