[ 
https://issues.apache.org/jira/browse/HDDS-4022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marton Elek resolved HDDS-4022.
-------------------------------
    Fix Version/s: 0.6.0
       Resolution: Fixed

> 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
>          Components: S3
>            Reporter: Namit Maheshwari
>            Assignee: Bharat Viswanadham
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 0.6.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to