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-11779) Ozone: KSM: add listBuckets
Date Thu, 08 Jun 2017 07:16:18 GMT

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

Weiwei Yang commented on HDFS-11779:
------------------------------------

Hi [~anu] thanks. Can you be more specific what the case you want to track? The patch allows
the case while startKey is missing,

{code}
@param startBucket
    Optional start bucket name parameter indicating where to start
    the bucket listing from.
{code}

please also see test case

{code}
// the 3rd argument is the startKey
listBucketArgs = new ListArgs(volArgs, null, 100, null); 
result = storageHandler.listBuckets(listBucketArgs);
Assert.assertEquals(20, result.getBuckets().size());
{code}

> Ozone: KSM: add listBuckets
> ---------------------------
>
>                 Key: HDFS-11779
>                 URL: https://issues.apache.org/jira/browse/HDFS-11779
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>    Affects Versions: HDFS-7240
>            Reporter: Anu Engineer
>            Assignee: Weiwei Yang
>         Attachments: HDFS-11779-HDFS-7240.001.patch, HDFS-11779-HDFS-7240.002.patch,
HDFS-11779-HDFS-7240.003.patch, HDFS-11779-HDFS-7240.004.patch, HDFS-11779-HDFS-7240.005.patch,
HDFS-11779-HDFS-7240.006.patch, HDFS-11779-HDFS-7240.007.patch, HDFS-11779-HDFS-7240.008.patch,
HDFS-11779-HDFS-7240.009.patch, HDFS-11779-HDFS-7240.010.patch, HDFS-11779-HDFS-7240.011.patch,
HDFS-11779-HDFS-7240.012.patch, HDFS-11779-HDFS-7240.013.patch, HDFS-11779-HDFS-7240.014.patch
>
>
> Lists buckets of a given volume. Similar to listVolumes, paging supported via prevKey,
prefix and maxKeys.



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