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

Elek, Marton commented on HDDS-658:
-----------------------------------

My proposal is to create a listS3Buckets() method to return all the available 
s3 buckets for the current user. As of now we calculate the volume name (s3g 
side) mimicking the same naming convention which is available on the OM side 
and list the (ozone) buckets of that specific volume. 

> Implement s3 bucket list backend call and use it from rest endpoint
> -------------------------------------------------------------------
>
>                 Key: HDDS-658
>                 URL: https://issues.apache.org/jira/browse/HDDS-658
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>          Components: S3
>            Reporter: Elek, Marton
>            Assignee: Bharat Viswanadham
>            Priority: Major
>
> HDDS-657 provides a very basic functionality for list buckets. There are two 
> problems there:
>  # It repeats the username -> volume name mapping convention.
>  # Doesn't work if volume doesn't exist (no s3 buckets created, yet).
> The proper solution is to do the same on server side:
>  # Use the existing naming convention in OM
>  # Return empty list in case of value is missing.
> It requires an additional rpc call to the om.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to