You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Elek, Marton (JIRA)" <ji...@apache.org> on 2018/11/08 09:07:00 UTC

[jira] [Created] (HDDS-821) Handle empty x-amz-storage-class header in Ozone S3 gateway

Elek, Marton created HDDS-821:
---------------------------------

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


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: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org