You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Steve Loughran (Jira)" <ji...@apache.org> on 2023/02/02 12:53:00 UTC

[jira] [Created] (HADOOP-18611) AbstractSTestS3AHugeFiles put request assert is using wrong iostatistic

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: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org