Steve Loughran created HADOOP-18611:
---------------------------------------

             Summary: AbstractSTestS3AHugeFiles put request assert is using 
wrong iostatistic
                 Key: HADOOP-18611
                 URL: https://issues.apache.org/jira/browse/HADOOP-18611
             Project: Hadoop Common
          Issue Type: Bug
          Components: fs/s3, test
    Affects Versions: 3.3.5
            Reporter: Steve Loughran
            Assignee: Steve Loughran


The huge file test case {{AbstractSTestS3AHugeFiles.test_010_CreateHugeFile()}} 
asserts that the put file count > 0. But this stat measures the count of HTTP 
PUT requests sent to S3; if a multipart PUT was used then the count is zero. As 
a result, this test case can fail on bigger files than the default.

Fix. assert on OBJECT_PUT_REQUESTS_COMPLETED; this will be 1 for a simple PUT, 
and #of multipart blocks uploaded on a larger file. 




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to