Description
cloudstore has an mkbucket command
https://github.com/steveloughran/cloudstore/blob/main/src/main/site/mkbucket.md
however, its v1 api, has problems with spans and needs rework for v2. Oh, and it has not tests.
- move the command into hadoop-aws
- add a test or two,
- add a mapper of 409 to bad request, as "BucketAlreadyOwnedByYouException" comes in as a 409.
Testing will be tricky...as well as not actually wanting to create new buckets, my test a/c doesn't even have the permission to do so.
Proposed tests
- invalid args must be rejected
- trying to create the current bucket must be rejected. This happens even if you lack the permission to create
No actual attempts to create a new bucket
Attachments
Issue Links
- Is contained by
-
HADOOP-18996 S3A to provide full support for S3 Express One Zone
- Resolved