Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-8354

WARNING on ObjectEndpoint#get

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.3.0, 1.4.0
    • 1.4.0
    • S3

    Description

      We see the following WARNING message when launching S3 Gateway.

      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. 

      This is because the method accepts a request body even though the endpoint never uses an HTTP request body.

      Attachments

        Issue Links

          Activity

            People

              okumin Shohei Okumiya
              okumin Shohei Okumiya
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: