ahmarsuhail commented on PR #4698: URL: https://github.com/apache/hadoop/pull/4698#issuecomment-1225738439
Thanks @steveloughran, have made the suggested changes. And yes, data types are changing. [getObject](https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/s3/S3Client.html#getObject-java.util.function.Consumer-) now returns [ResponseInputStream](https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/core/ResponseInputStream.html)<[GetObjectResponse](https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/s3/model/GetObjectResponse.html)>. In this PR, I'm logging a warning on `getObjectMetadata`, which will now return `HeadObjectResponse`. Javadocs say this method is used by external applications. Are there any other such methods in S3AFS that may return AWS data types directly? -- 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: common-issues-unsubscr...@hadoop.apache.org 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