[ https://issues.apache.org/jira/browse/HDFS-11775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16009528#comment-16009528 ]
Nandakumar commented on HDFS-11775: ----------------------------------- Initial patch uploaded. Based on offline discussion with [~anu] and [~xyao], BucketList is not stored separately in levelDB. Since we don't have any upper limit on number of buckets, the list can become enormous. So it has been decided to use DBIterator to extract the bucketNames from bucketInfo to get BucketList. > Ozone: KSM : add createBucket > ------------------------------ > > Key: HDFS-11775 > URL: https://issues.apache.org/jira/browse/HDFS-11775 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: ozone > Affects Versions: HDFS-7240 > Reporter: Anu Engineer > Assignee: Nandakumar > Attachments: HDFS-11775-HDFS-7240.000.patch > > > Creates a bucket if it does not exist. A precondition to creating a bucket is > that a parent volume must exist. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org