mehakmeet commented on a change in pull request #2667:
URL: https://github.com/apache/hadoop/pull/2667#discussion_r570838580
##########
File path:
hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/scale/ITestS3AMultipartUploadSizeLimits.java
##########
@@ -20,6 +20,9 @@
import java.io.File;
+import org.apache.hadoop.fs.FSDataOutputStream;
+import org.apache.hadoop.fs.FileSystem;
+import org.apache.hadoop.io.IOUtils;
Review comment:
reposition in ```org.apache.*``` block below.
##########
File path:
hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/scale/ITestS3AMultipartUploadSizeLimits.java
##########
@@ -118,4 +121,29 @@ public void testCommitLimitFailure() throws Throwable {
describedAs("commit abort count")
.isEqualTo(initial + 1);
}
+
+ @Test
+ public void testAbortAfterTwoPartUpload() throws Throwable {
Review comment:
javadoc or describe() to explain the test.
##########
File path:
hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3ABlockOutputStream.java
##########
@@ -37,6 +37,7 @@
import com.amazonaws.services.s3.model.PutObjectRequest;
import com.amazonaws.services.s3.model.PutObjectResult;
import com.amazonaws.services.s3.model.UploadPartRequest;
+import org.apache.hadoop.fs.Abortable;
Review comment:
reposition in ```org.apache.*``` block below.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]