[
https://issues.apache.org/jira/browse/HBASE-16381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15436012#comment-15436012
]
Yi Liang commented on HBASE-16381:
----------------------------------
ping [~tedyu] [~chenheng] [~apurtell] [~stack], could you guys take a look at
this jira :), I think this is a useful feature. Right now, I have some concerns
(1) do we need to add new command, usage seen last comment,
(2) or just as Andrew suggest that we can expend this deleteall command
if expand this command I think we can replace the 'row' argument in deleteall
command, shows as below.
{code}
hbase> deleteall 't1', {ROWPREFIXFILTER => 'prefix'}
hbase> deleteall 't1', {ROWPREFIXFILTER => 'prefix'}, 'c1'
hbase> deleteall 't1', {ROWPREFIXFILTER => 'prefix'}, 'c1', ts1
hbase> deleteall 't1', {ROWPREFIXFILTER => 'prefix'}, 'c1', ts1,
{VISIBILITY=>'PRIVATE|SECRET'}
{code}
Or you guys have any other good solutions.
> Shell deleteall command should support row key prefixes
> -------------------------------------------------------
>
> Key: HBASE-16381
> URL: https://issues.apache.org/jira/browse/HBASE-16381
> Project: HBase
> Issue Type: Improvement
> Components: shell
> Reporter: Andrew Purtell
> Assignee: Yi Liang
> Priority: Minor
> Fix For: 2.0.0
>
> Attachments: HBASE-16381-V1.patch, HBASE-16381-V2.patch
>
>
> The shell's deleteall command should support deleting a row range using a row
> key prefix.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)