Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # user - delete rows from hbase


Copy link to this message
-
Re: delete rows from hbase
shashwat shriparv 2012-06-19, 07:43
Try to impliment something like this

Class RegexStringComparator

On Tue, Jun 19, 2012 at 5:06 AM, Amitanand Aiyer <[EMAIL PROTECTED]> wrote:

> You could set up a scan with the criteria you want (start row, end row,
> keyonlyfilter etc), and do a delete for
> The rows you get.
>
> On 6/18/12 3:08 PM, "Oleg Ruchovets" <[EMAIL PROTECTED]> 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.
>
>
--

Shashwat Shriparv