hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaoyu Yao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11769) Ozone: KSM: Add createVolume API
Date Wed, 17 May 2017 17:59:04 GMT

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

Xiaoyu Yao commented on HDFS-11769:
-----------------------------------

Just to clarify the ksm.db schema based on discussion on HDFS-11769 and HDFS-11775. 
{code}
/{VolumeName} -> {VolumeInfo}
/{VolumeName}/{BucketName} -> {BucketInfo}
/{VolumeName}/{BucketName}/{KeyName} -> {KeyInfo}
${UserName} -> <VolumeList of the user>
{code}

The ${UserName} already exists with HDFS-11769. "/" prefix will be added in HDFS-11770. The
pro of having a "/" is that the Volume name does not have to check for userName prefix $.
The cons of having "/" prefix is the additional storage cost, which is relative low. 


> Ozone: KSM: Add createVolume API
> --------------------------------
>
>                 Key: HDFS-11769
>                 URL: https://issues.apache.org/jira/browse/HDFS-11769
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>    Affects Versions: HDFS-7240
>            Reporter: Anu Engineer
>            Assignee: Mukul Kumar Singh
>             Fix For: HDFS-7240
>
>         Attachments: HDFS-11769-HDFS-7240.001.patch, HDFS-11769-HDFS-7240.002.patch,
HDFS-11769-HDFS-7240.003.patch, HDFS-11769-HDFS-7240.004.patch, HDFS-11769-HDFS-7240.005.patch,
HDFS-11769-HDFS-7240.006.patch, HDFS-11769-HDFS-7240.007.patch, HDFS-11769-HDFS-7240.008.patch
>
>
> Add createVolume API in KSM.
> createVolume API allows administrators to create a volume. The arguments to the API are:
> * Admin Name - The name of the administrator who is creating this volume. Volumes can
be created only by administrators.
> *  User Name - The name of the owner of this volume.
> * Quota - Quota information for this volume.
> This JIRA proposes to add the protobuf layer for createVolume and handling in KSM. We
will file a followup JIRA for the KSM client.



--
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