[ https://issues.apache.org/jira/browse/HDDS-517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16643003#comment-16643003 ]
LiXin Ge commented on HDDS-517: ------------------------------- Sorry for the late response here, [~elek], I just come back from holidays, and thanks for your review and further demonstrate. bq. It's not clear why do you need the s3ResMeta It's just a try to make it act more like real AWS. However, to be honest, it's of small significance as you said, I have removed the s3ResMeta in patch 001. bq.Currently I didn't get 404 in in case of missing key. Patch 001 fixed this, I can see the 404 in my local as below now: {noformat} [root@EC130 bin]# curl -v -I http://127.0.0.1:9878/vol1/bucket/key2 * About to connect() to 127.0.0.1 port 9878 (#0) * Trying 127.0.0.1... connected * Connected to 127.0.0.1 (127.0.0.1) port 9878 (#0) > HEAD /vol1/bucket/key2 HTTP/1.1 > User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.12.9.0 > zlib/1.2.3 libidn/1.18 libssh2/1.2.2 > Host: 127.0.0.1:9878 > Accept: */* > < HTTP/1.1 404 Not Found HTTP/1.1 404 Not Found < Date: Tue, 09 Oct 2018 09:12:08 GMT Date: Tue, 09 Oct 2018 09:12:08 GMT {noformat} [~bharatviswa] thanks for your reminding, I have rebased patch 001 based on your nice work. > Implement HeadObject REST endpoint > ---------------------------------- > > Key: HDDS-517 > URL: https://issues.apache.org/jira/browse/HDDS-517 > Project: Hadoop Distributed Data Store > Issue Type: Sub-task > Reporter: Elek, Marton > Assignee: LiXin Ge > Priority: Major > Labels: newbie > Attachments: HDDS-517.000.patch, HDDS-517.001.patch > > > The HEAD operation retrieves metadata from an object without returning the > object itself. This operation is useful if you are interested only in an > object's metadata. To use HEAD, you must have READ access to the object. > Steps: > 1. Look up the volume > 2. Read the key and return to the user. > The AWS reference is here: > https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectHEAD.html > We have a simple version of this call in HDDS-444 but without Range support. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org