[ https://issues.apache.org/jira/browse/HADOOP-18961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Loughran resolved HADOOP-18961. ------------------------------------- Fix Version/s: 3.4.0 Resolution: Fixed Fixed in HADOOP-18996 > S3A: add s3guard command "bucket" to create buckets > --------------------------------------------------- > > 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 > Priority: Major > Fix For: 3.4.0 > > > 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-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-dev-h...@hadoop.apache.org