hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nandakumar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12525) Ozone: OzoneClient: Verify bucket/volume name in create calls
Date Mon, 25 Sep 2017 05:40:00 GMT

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

Nandakumar commented on HDFS-12525:

Thanks [~linyiqun] and [~anu] for the review.
I agree that we have to have one function to verify the names. The one in hadoop-hdfs {{OzoneUtils}}
is used by the old {{OzoneRestClient}}, which we are planning to remove once new REST based
{{OzoneClient}} is ready (based on HDFS-12385). The plan is to remove the {{OzoneUtils#verifyResourceName}}
while removing the old {{OzoneRestClient}}. Removing it now will result in a bigger patch
for this jira with changes in all files inside old rest client.

> 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

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

View raw message