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 bd6e5ac147..1c3d368857 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 @@ -192,11 +192,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;