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

Elek, Marton commented on HDDS-518:
-----------------------------------

+1.

Thanks [~candychencan] the patch and the update.

I am not sure about the replicationFactory/replicationType. I think they should 
be configured by a custom HTTP header 
(x-ozone-replication-type/x-ozone-replication-factor) long-term. But aws cli 
doesn't support custom header (or I don't know how) just s3cmd. We also need to 
switch to a more reasonable default (RATIS/3).

But this is not yet solved in the other locations where STANDALONE/1 is 
hard-coded everywhere, so it's definitely better than the current state.

Will commit it soon...

> Implement PutObject Rest endpoint
> ---------------------------------
>
>                 Key: HDDS-518
>                 URL: https://issues.apache.org/jira/browse/HDDS-518
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>            Reporter: Elek, Marton
>            Assignee: chencan
>            Priority: Major
>              Labels: newbie
>         Attachments: HDDS-518.001.patch, HDDS-518.002.patch
>
>
> The Put Object call allows users to add an Object to an S3 bucket.
> The aws reference is here:
> https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPUT.html
> We have an initial implementation in HDDS-444, but we need add the 
> configurable chunk size (what we have in the upload from 'ozone sh' command), 
> and support replication, replication type parameters.
> We also need to support Content-MD5 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