You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Siddharth Wagle (Jira)" <ji...@apache.org> on 2020/03/18 03:16:00 UTC

[jira] [Commented] (HDDS-3224) Enforce volume and bucket name rule at create time

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

Siddharth Wagle commented on HDDS-3224:
---------------------------------------

[~Sammi] How was volume created? 

> Enforce volume and bucket name rule at create time
> --------------------------------------------------
>
>                 Key: HDDS-3224
>                 URL: https://issues.apache.org/jira/browse/HDDS-3224
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>            Reporter: Sammi Chen
>            Assignee: Siddharth Wagle
>            Priority: Major
>
> After volume is created through API application, it cannot be listed through CLI. 
> ozone sh volume list -u=admin
> {
>   "metadata" : { },
>   "name" : "instagram",
>   "admin" : "admin",
>   "owner" : "admin",
>   "creationTime" : "2020-03-04T07:18:38.183Z",
>   "acls" : [ ],
>   "quota" : 1152921504606846976
> }
> {
>   "metadata" : { },
>   "name" : "3",
>   "admin" : "admin",
>   "owner" : "admin",
>   "creationTime" : "2020-03-17T07:31:56.987Z",
>   "acls" : [ ],
>   "quota" : 1152921504606846976
> }
> {
>   "metadata" : { },
>   "name" : "333",
>   "admin" : "admin",
>   "owner" : "admin",
>   "creationTime" : "2020-03-17T07:34:18.361Z",
>   "acls" : [ ],
>   "quota" : 1152921504606846976
> }
> ozone sh bucket list 3       
> Bucket or Volume length is illegal, valid length is 3-63 characters
> ozone sh bucket list 333     
> Bucket or Volume name cannot be an IPv4 address or all numeric
> We should enforece this rules at the create time. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org