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

Anu Engineer commented on HDDS-271:
-----------------------------------

{quote}I was thinking of some cases where we would like to identify some 
specific blocks in a container. Ex all blocks from some user or group. This can 
come handy in deletion.
{quote}
[~ajayydv] Thanks for the comments. At this layer, we don't have that info. It 
is in OzoneManager. OzoneManager has to send in a list of blocks for us to 
delete, even if it is by a user or a group. However, we do have extended 
attributes support for Blocks, so some time in future, we can have iterators 
that support a specific filter. But for now, we can do that by iterating over a 
block and checking the specific property if needed. Again a very future looking 
use case, so probably does not matter for this patch.

> Create a block iterator to iterate blocks in a container
> --------------------------------------------------------
>
>                 Key: HDDS-271
>                 URL: https://issues.apache.org/jira/browse/HDDS-271
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>            Reporter: Bharat Viswanadham
>            Assignee: Bharat Viswanadham
>            Priority: Major
>             Fix For: 0.2.1
>
>         Attachments: HDDS-271.00.patch, HDDS-271.01.patch, HDDS-271.02.patch, 
> HDDS-271.03.patch, HDDS-271.04.patch
>
>
> Create a block iterator to scan all blocks in a container.
> This one will be useful during implementation of container scanner.



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