Elek, Marton created HDDS-1948:

             Summary: S3 MPU can't be created with octet-stream content-type 
                 Key: HDDS-1948
                 URL: https://issues.apache.org/jira/browse/HDDS-1948
             Project: Hadoop Distributed Data Store
          Issue Type: Bug
            Reporter: Elek, Marton
            Assignee: Elek, Marton

This problem is reported offline by [~shaneku...@gmail.com].

When aws-sdk-go is used to access to s3 gateway of Ozone it sends the Multi 
Part Upload initialize message with "application/octet-stream" Content-Type. 

This Content-Type is missing from the aws-cli which is used to reimplement s3 

The problem is that we use the same rest endpoint for initialize and complete 
Multipart Upload request. For the completion we need the 
CompleteMultipartUploadRequest parameter which is parsed from the body.

For initialize we have an empty body which can't be serialized to 

The workaround is to set a specific content type from a filter which help up to 
create two different REST method for initialize and completion message.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to