You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "okumin (Jira)" <ji...@apache.org> on 2023/04/02 05:36:00 UTC

[jira] [Commented] (HDDS-8354) WARNING on ObjectEndpoint#get

    [ https://issues.apache.org/jira/browse/HDDS-8354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17707615#comment-17707615 ] 

okumin commented on HDDS-8354:
------------------------------

I created a PR with my manual test on my laptop.

https://github.com/apache/ozone/pull/4515

> WARNING on ObjectEndpoint#get
> -----------------------------
>
>                 Key: HDDS-8354
>                 URL: https://issues.apache.org/jira/browse/HDDS-8354
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: S3
>    Affects Versions: 1.3.0, 1.4.0
>            Reporter: okumin
>            Priority: Minor
>              Labels: pull-request-available
>
> We see the following WARNING message when launching S3 Gateway.
> {code:java}
> ozone-s3g-6bd9d99555-lgmsl: WARNING: The following warnings have been detected: WARNING: A HTTP GET method, public javax.ws.rs.core.Response org.apache.hadoop.ozone.s3.endpoint.ObjectEndpoint.get(java.lang.String,java.lang.String,java.lang.String,int,java.lang.String,java.io.InputStream) throws java.io.IOException,org.apache.hadoop.ozone.s3.exception.OS3Exception, should not consume any entity. {code}
> This is because the method accepts a request body even though the endpoint never uses an HTTP request body.
>  * https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectGET.html



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org