You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Oleg Ruchovets <or...@gmail.com> on 2011/03/08 16:25:54 UTC
Delete from hbase
Hi ,
We inserting ~ 10 million raws per day to hbase.
We are using hbase 0.20.3 and going to use 0.90.1.
Currently we delete raws in a such way
................
public void delete(HTable t, byte[] row) throws IOException {
Delete del = new Delete(row);
t.delete(del);
}
......................
meaning get row to the client and delete it.
It is very time consuming task and my questions are:
1) Does hbase 0.90.1 has enhancements for remove raws from hbase?
2) Is it possible to perform delete process on server side?
3) What is the best way to remove raw (records) from hbase ?
Oleg
Re: Delete from hbase
Posted by Ted Yu <yu...@gmail.com>.
Can you utilize the following HTable API ?
public void delete(final List<Delete> deletes)
In 0.20.6, it is:
public synchronized void delete(final ArrayList<Delete> deletes)
On Tue, Mar 8, 2011 at 7:25 AM, Oleg Ruchovets <or...@gmail.com> wrote:
> Hi ,
> We inserting ~ 10 million raws per day to hbase.
> We are using hbase 0.20.3 and going to use 0.90.1.
>
> Currently we delete raws in a such way
> ................
> public void delete(HTable t, byte[] row) throws IOException {
> Delete del = new Delete(row);
> t.delete(del);
> }
> ......................
> meaning get row to the client and delete it.
> It is very time consuming task and my questions are:
>
>
> 1) Does hbase 0.90.1 has enhancements for remove raws from hbase?
> 2) Is it possible to perform delete process on server side?
> 3) What is the best way to remove raw (records) from hbase ?
>
> Oleg
>