From 4670f9e8b08d36b99e67d1a632e1762c88f5561a Mon Sep 17 00:00:00 2001 From: Dongjoon Hyun Date: Thu, 4 May 2023 05:03:48 -0700 Subject: [PATCH] HADOOP-18727. Fix WriteOperations.listMultipartUploads function description (#5613) Contributed by Dongjoon Hyun --- .../java/org/apache/hadoop/fs/s3a/WriteOperations.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/WriteOperations.java b/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/WriteOperations.java index 321390446f..91e0342cf7 100644 --- a/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/WriteOperations.java +++ b/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/WriteOperations.java @@ -191,11 +191,11 @@ int abortMultipartUploadsUnderPath(String prefix) 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 listMultipartUploads(String prefix) throws IOException;