You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Bharat Viswanadham (Jira)" <ji...@apache.org> on 2020/07/23 22:17:00 UTC
[jira] [Updated] (HDDS-4022) Ozone s3 API return 400 Bad Request
for head-bucket for non existing bucket
[ https://issues.apache.org/jira/browse/HDDS-4022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bharat Viswanadham updated HDDS-4022:
-------------------------------------
Labels: S3 (was: )
> Ozone s3 API return 400 Bad Request for head-bucket for non existing bucket
> ---------------------------------------------------------------------------
>
> Key: HDDS-4022
> URL: https://issues.apache.org/jira/browse/HDDS-4022
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Reporter: Bharat Viswanadham
> Assignee: Bharat Viswanadham
> Priority: Major
> Labels: S3
>
> Ozone s3 API returns 400 Bad Request for head-bucket for non-existing bucket.
> hrt_qa$ aws s3api --ca-bundle=/usr/local/share/ca-certificates/ca.crt --endpoint https://s3g:9879/ head-bucket --bucket fsdghj
> An error occurred (400) when calling the HeadBucket operation: Bad Request
> It should return 404 as per AWS documentation:
> https://docs.aws.amazon.com/cli/latest/reference/s3api/head-bucket.html
> A client error (404) occurred when calling the HeadBucket operation: Not Found
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org