You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2008/06/23 20:14:45 UTC
[jira] Created: (HBASE-702) deleteall doesn't
deleteall doesn't
-----------------
Key: HBASE-702
URL: https://issues.apache.org/jira/browse/HBASE-702
Project: Hadoop HBase
Issue Type: Bug
Reporter: stack
Fix For: 0.2.0
>From the list, cure at xg dot pol:
{code}
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
{code}
I then tried it myself:
{code}
durruti:~/Documents/checkouts/hbase/trunk stack$ ./bin/hbase shell
HBase Shell; enter 'help<RETURN>' for list of supported commands.
Version: 0.2.0-dev, r670651, Mon Jun 23 11:08:56 PDT 2008
hbase(main):001:0> scan 'x'
ROW COLUMN+CELL
aaa column=x:, timestamp=1214243416011, value=somevalue
1 row(s) in 0.1760 seconds
hbase(main):002:0> deleteall 'x', 'aaa'
0 row(s) in 0.0030 seconds
hbase(main):003:0> scan 'x'
ROW COLUMN+CELL
aaa column=x:, timestamp=1214243416011, value=somevalue
1 row(s) in 0.0100 seconds
{code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HBASE-702) deleteall doesn't
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack resolved HBASE-702.
-------------------------
Resolution: Fixed
Confirmed fixed by Antony up on the list. Resolving.
> deleteall doesn't
> -----------------
>
> Key: HBASE-702
> URL: https://issues.apache.org/jira/browse/HBASE-702
> Project: Hadoop HBase
> Issue Type: Bug
> Reporter: stack
> Assignee: stack
> Fix For: 0.2.0
>
>
> From the list, cure at xg dot pol:
> {code}
> 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
> {code}
> I then tried it myself:
> {code}
> durruti:~/Documents/checkouts/hbase/trunk stack$ ./bin/hbase shell
> HBase Shell; enter 'help<RETURN>' for list of supported commands.
> Version: 0.2.0-dev, r670651, Mon Jun 23 11:08:56 PDT 2008
> hbase(main):001:0> scan 'x'
> ROW COLUMN+CELL
> aaa column=x:, timestamp=1214243416011, value=somevalue
> 1 row(s) in 0.1760 seconds
> hbase(main):002:0> deleteall 'x', 'aaa'
> 0 row(s) in 0.0030 seconds
> hbase(main):003:0> scan 'x'
> ROW COLUMN+CELL
> aaa column=x:, timestamp=1214243416011, value=somevalue
> 1 row(s) in 0.0100 seconds
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HBASE-702) deleteall doesn't
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack reassigned HBASE-702:
---------------------------
Assignee: stack
> deleteall doesn't
> -----------------
>
> Key: HBASE-702
> URL: https://issues.apache.org/jira/browse/HBASE-702
> Project: Hadoop HBase
> Issue Type: Bug
> Reporter: stack
> Assignee: stack
> Fix For: 0.2.0
>
>
> From the list, cure at xg dot pol:
> {code}
> 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
> {code}
> I then tried it myself:
> {code}
> durruti:~/Documents/checkouts/hbase/trunk stack$ ./bin/hbase shell
> HBase Shell; enter 'help<RETURN>' for list of supported commands.
> Version: 0.2.0-dev, r670651, Mon Jun 23 11:08:56 PDT 2008
> hbase(main):001:0> scan 'x'
> ROW COLUMN+CELL
> aaa column=x:, timestamp=1214243416011, value=somevalue
> 1 row(s) in 0.1760 seconds
> hbase(main):002:0> deleteall 'x', 'aaa'
> 0 row(s) in 0.0030 seconds
> hbase(main):003:0> scan 'x'
> ROW COLUMN+CELL
> aaa column=x:, timestamp=1214243416011, value=somevalue
> 1 row(s) in 0.0100 seconds
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.