ahmarsuhail commented on PR #7882:
URL: https://github.com/apache/hadoop/pull/7882#issuecomment-3318915081
@steveloughran not able to narrow this error down just yet, it looks like
it's a combination of S3A's configuration of the S3 client + these new Md5
changes.
```
@Test
public void testHead() throws Throwable {
// S3Client s3Client =
getFileSystem().getS3AInternals().getAmazonS3Client("test instance");
S3Client s3Client = S3Client.builder().region(Region.US_EAST_1)
.addPlugin(LegacyMd5Plugin.create())
.requestChecksumCalculation(RequestChecksumCalculation.WHEN_REQUIRED)
.responseChecksumValidation(ResponseChecksumValidation.WHEN_SUPPORTED)
.overrideConfiguration(o -> o.retryStrategy(b ->
b.maxAttempts(1)))
.build();
s3Client.headObject(HeadObjectRequest.builder().bucket("<>")
.key("<>").build());
}
```
I see the failure when the S3A client, and don't see it when I use a newly
created client. So it's not just because of
`requestChecksumCalculation(RequestChecksumCalculation.WHEN_REQUIRED)`
Looking into it some more.
S3 express team said there have been no changes in LIST behaviour.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]