[ 
https://issues.apache.org/jira/browse/HADOOP-1550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12526246
 ] 

stack commented on HADOOP-1550:
-------------------------------

After playing in HADOOP-1784, here's some thoughts on this issue.

HADOOP-1784 added deleteAll.  It takes a timestamp and a column name.  
Internally it asks a new getKeys method for a list of all keys that match the 
passed column and that are older than or equal to the passed timestamp.

To delete a whole row, we could add a deleteAll that just took a timestamp and 
a version of getKeys that returned all entries on a row -- not just all entries 
in a row that match the passed column.  This new deleteAll would then work like 
the current deleteAll adding a delete cell for every key returned by the 
getKeys call.

Deleting all members of a column family would be a matter of removing all store 
files under the column family HStore (and any matching entries in memcache).

> [hbase] No means of deleting a'row' nor all members of a column family
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-1550
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1550
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/hbase
>            Reporter: stack
>            Priority: Minor
>
> There is no support in hbase currently for deleting a row -- i.e. remove all 
> columns and their versions keyed by a particular row id.  Nor is there a 
> means of passing in a row id and column family name having hbase delete all 
> members of the column family (for the designated row).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to