Perhaps the problem is that you are referring to row keys as string in
the put, and as byte[] in the delete. The string argument put method
uses UTF_8 encoding, String.getBytes() uses the default encoding
which may not be the same...
-clint
On Sun, Jun 22, 2008 at 12:47 PM, acure <cure@xg.pl> wrote:
> Hi
>
> Hbase 0.2.0 dev - fresh from trunk
> Example :
> I have a table x with column : 'col'.
>
> i put somevalue into column 'col' for row 'aaa':
>
> HTable table = new HTable("x");
> BatchUpdate batch = new BatchUpdate("aaa");
> batch.put("col:", "somevalue".getBytes());
> table.commit(batch);
> i deleteAll - full denial remove 'aaa'
>
> table.deleteAll("aaa".getBytes());
>
> but on shell i see that this row still exists.
>
> when i use deleteAll(row, column) - it's ok and value is removed.
>
> Thanks - Antony
>
>
|