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

Keith Turner commented on ACCUMULO-1346:
----------------------------------------

To expand a bit more on my earlier comment, could do the following :

 * create SingleRowFilter that extends o.a.a.core.iterators.user.RowFilter and 
filters a single row.
 * add a table operation deleteRow(table, row)
 * implementation of deleteRow() would call tableOperations().compact() with 
SingleRowFilter and very restrictive range (there is a possibility that this 
range may overlap two tablets, this could mostly be avoided by looking in 
metadata table to get an exact tablet range.. TabletLocator would make this 
fairly simple)
 * deleterows -r in shell could call tableOperations().deleteRow()

I think this ticket could be marked as newbie.  
                
> deleterows should take a -r option
> ----------------------------------
>
>                 Key: ACCUMULO-1346
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1346
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: shell
>    Affects Versions: 1.4.2
>            Reporter: Mike Drob
>            Assignee: Drew Farris
>            Priority: Minor
>              Labels: hackathon, hackation-5-2013
>
> deleterows only allows an exclusive begin row and an inclusive end row. This 
> is difficult to use for deleting a single (large) row. It would be nice if a 
> user could specify -r, similar to scan.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to