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-11778) Ozone: KSM: add getBucketInfo
Date Wed, 24 May 2017 05:04:05 GMT

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

Nandakumar commented on HDFS-11778:

Thanks for the review [~xyao].
bq. I think we can just keep using the BucketInfo as the parameter for CreateBucketRequest.
The add/remove ACL is mainly for setBucket. BucketInfo is good enough for CreateBucket/GetBuckert.
I was also thinking of removing KsmBucketArgs, and use KsmBucketInfo for CreateBucketRequest.
Initially KsmBucketArgs was added to make it consistent with {{web.handlers.BucketArgs}}
bq. bucketInfo has an aclList which will usually not needed to coexist with addAcls and removeAcls.
Any reason for changing the current KsmBucketArgs?
Yes, true. Since KsmBucketArgs  was used for createBucket, bucketInfo was added; that can
be removed since we are going to directly use KsmBucketInfo for create call.

I will rework and upload a new patch soon.

> Ozone: KSM: add getBucketInfo
> -----------------------------
>                 Key: HDFS-11778
>                 URL: https://issues.apache.org/jira/browse/HDFS-11778
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>    Affects Versions: HDFS-7240
>            Reporter: Anu Engineer
>            Assignee: Nandakumar
>         Attachments: HDFS-11778-HDFS-7240.000.patch, HDFS-11778-HDFS-7240.001.patch
> Returns the bucket information if the bucket exists.

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