hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Daniel Cryans <jdcry...@apache.org>
Subject Re: delete rows from hbase
Date Mon, 18 Jun 2012 22:18:42 GMT
In order to delete a row in HBase you need to know that it exists, so
the way I'd go around this is running a MR job that scans and for each
row that matches the filter would emit a Delete.

Hope this helps,


On Mon, Jun 18, 2012 at 3:08 PM, Oleg Ruchovets <oruchovets@gmail.com> wrote:
> Hi ,
> I need to delete rows from hbase table by criteria.
> For example I need to delete all rows started with "12345".
> I didn't find a way to set a row prefix for delete operation.
> What is the best way ( practice ) to delete  rows by criteria from hbase
> table?
> Thanks in advance.
> Oleg.

View raw message