hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anu Engineer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11775) Ozone: KSM : add createBucket
Date Wed, 17 May 2017 04:37:04 GMT

    [ 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message