hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weiwei Yang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12145) Ozone: OzoneFileSystem: Ozone & KSM should support "/" delimited key names
Date Sat, 22 Jul 2017 14:27:00 GMT

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

Weiwei Yang commented on HDFS-12145:

Hi [~msingh]

Thanks for the update, but I was meant to say that we could add an argument for {{PutHelper}}
so it can put a specific key name, such as

PutHelper(OzoneRestClient client, String dir, String keyName);

Then in test {{testPutKey()}}, we could add

runTestPutKey(new PutHelper(ozoneRestClient,
    path, OzoneUtils.getRequestID().toLowerCase()));
runTestPutKey(new PutHelper(ozoneRestClient,
    path, getRandomKeyDelimitedBy("/")));

so that we can test both delimited and non-delimited keys.
Here I think we can rename {{getMultiPartKey()}} to {{getRandomKeyDelimitedBy()}}, this method
allows you to get a key name with a specific delimiter.

String getRandomKeyDelimitedBy(String delimiter);

Does that make sense to you? Please let me know. 
Thanks a lot.

> Ozone: OzoneFileSystem: Ozone & KSM should support "/" delimited key names
> --------------------------------------------------------------------------
>                 Key: HDFS-12145
>                 URL: https://issues.apache.org/jira/browse/HDFS-12145
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>    Affects Versions: HDFS-7240
>            Reporter: Mukul Kumar Singh
>            Assignee: Mukul Kumar Singh
>             Fix For: HDFS-7240
>         Attachments: HDFS-12145-HDFS-7240.001.patch, HDFS-12145-HDFS-7240.002.patch,
HDFS-12145-HDFS-7240.003.patch, HDFS-12145-HDFS-7240.004.patch
> With OzoneFileSystem, key names will be delimited by "/" which is used as the path separator.
> Support should be added in KSM and Ozone to support key name with "/"

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