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-12525) Ozone: OzoneClient: Verify bucket/volume name in create calls
Date Mon, 25 Sep 2017 04:26:00 GMT

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

Anu Engineer commented on HDFS-12525:
-------------------------------------

I am also inclined to have one function to verify the name as [~linyiqun] suggested. The issue
is that if we have two different verifications and if they go out of sync debugging will be
hard. Why don't we define this function on the client side and use it on the server side as
well for verification?

> Ozone: OzoneClient: Verify bucket/volume name in create calls
> -------------------------------------------------------------
>
>                 Key: HDFS-12525
>                 URL: https://issues.apache.org/jira/browse/HDFS-12525
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>            Reporter: Nandakumar
>            Assignee: Nandakumar
>              Labels: ozoneMerge
>         Attachments: HDFS-12525-HDFS-7240.000.patch, HDFS-12525-HDFS-7240.000.patch
>
>
> The new OzoneClient API has to verify bucket/volume name during creation call. Volume/Bucket
name shouldn't support any special characters other {{.}} and {{-}}.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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