hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Veeramachaneni, Ravi" <ravi.veeramachan...@navteq.com>
Subject RE: Weird Problem: Can not delete a specified row
Date Tue, 07 Dec 2010 16:35:18 GMT
Check the timestamp of the row, if it is in future date, you may not be able to delete.

________________________________________
From: saint.ack@gmail.com [saint.ack@gmail.com] On Behalf Of Stack [stack@duboce.net]
Sent: Tuesday, December 07, 2010 10:27 AM
To: user@hbase.apache.org
Subject: Re: Weird Problem: Can not delete a specified row

Can you dig in more on the row?  Query for all versions of the row to
see what is in there and then see if you have the same issue if you
scan across the row as opposed to Getting it?  Sounds like a bug.
Would be nice to get more info so we can try reproduce on this end.

St.Ack


2010/12/7 曾伟 <wzeng@shendusou.com>:
> Hi,
>
>
>
> Find a strange problem today.  The deleting operation does not work. Here is
> the code:
>
>
>
>      HTable table = this.pool.getTable(this.tableName);
>
>      System.out.println(table.exists(new Get(row)));
>
>      Delete d=new Delete(row);
>
>      table.delete(d);
>
>      System.out.println(table.exists(new Get(row)));
>
>
>
> Both outputs are True. And I can also get it by table.get(Get) method.
> Obviously the row does not be deleted.
>
>
>
> I googled this issue on Internet,however nothing valuable can be found.
>
>
>
> We run this hbase cluster about 1 year(10 datanode and 4 regionservers) ,
> never seeing this problem before.
>
>
>
> Env:  Ubuntu 10.04  Hadoop CDH3  Hbase 0.20.6 ,table version is 1.
>
>
>
> Does anyone encounter this problem?
>
>
>
> Any clue appreciated
>
>
>
> Wei.
>
>

The information contained in this communication may be CONFIDENTIAL and is intended only for
the use of the recipient(s) named above.  If you are not the intended recipient, you are hereby
notified that any dissemination, distribution, or copying of this communication, or any of
its contents, is strictly prohibited.  If you have received this communication in error, please
notify the sender and delete/destroy the original message and any copy of it from your computer
or paper files.
Mime
View raw message