You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (Jira)" <ji...@apache.org> on 2023/10/31 14:21:00 UTC
[jira] [Created] (HADOOP-18961) add s3a command "mkbucket"
Steve Loughran created HADOOP-18961:
---------------------------------------
Summary: add s3a command "mkbucket"
Key: HADOOP-18961
URL: https://issues.apache.org/jira/browse/HADOOP-18961
Project: Hadoop Common
Issue Type: Sub-task
Components: fs/s3
Affects Versions: 3.4.0
Reporter: Steve Loughran
Assignee: Steve Loughran
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*
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org