[ https://issues.apache.org/jira/browse/HBASE-16381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15433365#comment-15433365 ]
Yi Liang commented on HBASE-16381: ---------------------------------- Hi [~apurtell], I have attached a patch, which I add a new command called 'deleterows', the usage is as below: <code> hbase> deleterows 'ns1:t1', 'prefix' hbase> deleterows 't1', 'prefix' // delete all cells for specific rows hbase> deleterows 't1', 'prefix', 'c1' // delete specific columns for specific rows hbase> deleterows 't1', 'prefix', 'c1', ts1 // delete specific columns for specific rows before ts1 hbase> deleterows 't1', 'prefix', 'c1', {VISIBILITY=>'PRIVATE|SECRET'} hbase> deleterows 't1', 'prefix', 'c1', ts1, {VISIBILITY=>'PRIVATE|SECRET'} //above two considering cell visibility </code> > 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 > > > 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)