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

Vladimir Rodionov commented on HBASE-12965:
-------------------------------------------

One step further ...

Why would not postpone the actual action until next compaction? And apply 
deletion filter on-demand, during read scan? We do not touch data, just store 
deletion filter with affected region in a table's meta, we use these active 
filters to filter out data during read until the major compaction is complete.  

> Enhance the delete option to pass Filters
> -----------------------------------------
>
>                 Key: HBASE-12965
>                 URL: https://issues.apache.org/jira/browse/HBASE-12965
>             Project: HBase
>          Issue Type: Improvement
>          Components: API, Deletes, Filters
>    Affects Versions: 0.98.10
>            Reporter: IMRANKHAN SHAJAHAN
>
> Scan having the option to pass FIlters and filter the rows based on the 
> filter.
> But for deleting rows, there is no easy way to pass the filters to Delete 
> Object.
> We can do that using below three approach
> 1) Scan the records and create list of Delete object and do the delete. This 
> needs iteration in client side.
> 2) Writing map reduce
> 3) BulkDeleteEndPoint
> If we implement the option of passing filters in Delete Object, then we dont 
> need to worry about option 2 and 3.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to