[ 
https://issues.apache.org/jira/browse/HDFS-11775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16013502#comment-16013502
 ] 

Anu Engineer commented on HDFS-11775:
-------------------------------------

[~vagarychen] [~xyao] I think we have enough context without having to annotate 
the key with /volume or /bucket.

* A Volume is a slash-followed by a 64 character name. e.g. /Volume
* A Bucket is a slash-followed by a volumes- followed by a slash - followed by 
bucket.
{noformat}
slash = '/';
name = {character}, 63 * {character} | digit;
volumeName = slash, name;
bucketName = volumename,slash,name;
{noformat}

IMHO, there is enough context for us to parse these keys correctly.


> Ozone: KSM : add createBucket 
> ------------------------------
>
>                 Key: HDFS-11775
>                 URL: https://issues.apache.org/jira/browse/HDFS-11775
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>    Affects Versions: HDFS-7240
>            Reporter: Anu Engineer
>            Assignee: Nandakumar
>         Attachments: HDFS-11775-HDFS-7240.000.patch, 
> HDFS-11775-HDFS-7240.001.patch, HDFS-11775-HDFS-7240.002.patch
>
>
> Creates a bucket if it does not exist. A precondition to creating a bucket is 
> that a parent volume must exist.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to