okumin created HDDS-8354:
----------------------------

             Summary: 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


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to