hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Dimiduk (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12965) Enhance the delete option to pass Filters
Date Wed, 04 Feb 2015 07:06:34 GMT

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

Nick Dimiduk commented on HBASE-12965:
--------------------------------------

Agreed, BulkDelete seems like what you want. https://hbase.apache.org/apidocs/org/apache/hadoop/hbase/coprocessor/example/BulkDeleteEndpoint.html

Maybe it's worth promoting this to the Table API? How about Table#delete(Scan) instead of
a coproc invocation?

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

Mime
View raw message