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

Hudson commented on HDDS-821:
-----------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #15442 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/15442/])
HDDS-821. Handle empty x-amz-storage-class header in Ozone S3 gateway. (bharat: 
rev 57866b366f46fe500884a16b6f56e2bd8998574d)
* (add) 
hadoop-ozone/s3gateway/src/test/java/org/apache/hadoop/ozone/s3/endpoint/TestObjectPut.java
* (edit) 
hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/endpoint/ObjectEndpoint.java
* (delete) 
hadoop-ozone/s3gateway/src/test/java/org/apache/hadoop/ozone/s3/endpoint/TestPutObject.java


> Handle empty x-amz-storage-class header in Ozone S3 gateway
> -----------------------------------------------------------
>
>                 Key: HDDS-821
>                 URL: https://issues.apache.org/jira/browse/HDDS-821
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>          Components: S3
>            Reporter: Elek, Marton
>            Assignee: Elek, Marton
>            Priority: Major
>             Fix For: 0.4.0
>
>         Attachments: HDDS-821.001.patch, HDDS-821.002.patch
>
>
> Ozone replication type is set based on the x-amz-storage-class HTTP header in 
> s3g thanks to HDDS-712.
> If header is not set the default replication type will be used (RATIS/3).
> Unfortunately some tricky clients (such as the goofys FUSE driver) sends an 
> empty header.
> This patch fixes the behaviour to use the default replication type in case of 
> an existing but empty header. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to