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

Xiaoyu Yao commented on HDFS-11779:
-----------------------------------

Thanks [~cheersyang] for picking up this work. According to the design spec, 
Ozone REST API for volume list and bucket list are all defined and with prefix 
based filtering and paging support. In the latest KSM spec, we don't have a 
restriction on the number of buckets per volume. It is good to have paging and 
filtering to scale for large number of buckets. 

The test implementation OzoneMetadataManger#listBuckets does have a TODO for 
that but I think we should implement that for KSM.
{code}// TODO : Query using Prefix and PrevKey {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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to