steveloughran commented on pull request #2553: URL: https://github.com/apache/hadoop/pull/2553#issuecomment-745533557
Test failures in tests which are seeing 1 too many LIST calls. I think the wiring up of list duration and metrics is causing this; had something similar with object metadata and HEAD requests, hence the different key names for the duration and simple counter. If the duration has the same name then it updates the counter, see. [ERROR] testCostOfListStatusOnEmptyDir[raw-delete-markers](org.apache.hadoop.fs.s3a.ITestS3AFileOperationCost) Time elapsed: 6.77 s <<< FAILURE! java.lang.AssertionError: operation returning [Lorg.apache.hadoop.fs.s3a.S3AFileStatus;@10e4be9d: object_list_request expected:<2> but was:<3> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:645) at org.apache.hadoop.fs.s3a.S3ATestUtils$MetricDiff.assertDiffEquals(S3ATestUtils.java:1022) at org.apache.hadoop.fs.s3a.performance.OperationCostValidator$ExpectSingleStatistic.verify(OperationCostValidator.java:392) ---------------------------------------------------------------- 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org