cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joaquin Casares (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-2896) Del command doesn't work in cli
Date Fri, 15 Jul 2011 17:39:59 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-2896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13066095#comment-13066095
] 

Joaquin Casares commented on CASSANDRA-2896:
--------------------------------------------

Weird, this is what I get:


[default@unknown] connect localhost/9160;
Connected to: "Test Cluster" on localhost/9160
[default@unknown] create keyspace test;
920cb3a0-af08-11e0-0000-242d50cf1fff
Waiting for schema agreement...
... schemas agree across the cluster
[default@unknown] use test;          
Authenticated to keyspace: test
[default@test] create column family test;
9a2fd4e0-af08-11e0-0000-242d50cf1fff
Waiting for schema agreement...
... schemas agree across the cluster
[default@test] set test[123][123]=1;
Value inserted.
[default@test] get test[123][123]=1;
Syntax error at position 18: missing EOF at '='
[default@test] get test[123][123];  
=> (column=0123, value=31, timestamp=1310751238633000)
[default@test] del test[123][123];
column removed.
[default@test] get test[123][123];
=> (column=0123, value=31, timestamp=1310751238633000)
[default@test] list test;
Using default limit of 100
-------------------
RowKey: 313233
-------------------
RowKey: 0123
=> (column=0123, value=31, timestamp=1310751238633000)

2 Rows Returned.
[default@test] del test[123][123];
column removed.
[default@test] list test;         
Using default limit of 100
-------------------
RowKey: 313233
-------------------
RowKey: 0123
=> (column=0123, value=31, timestamp=1310751238633000)

2 Rows Returned.
[default@test] 


After removing /var/lib/cassandra and running ant clean && ant after:

Joaquin-Casaress-MacBook-Pro:git-cassandra joaquin$ git checkout cassandra-0.8
Previous HEAD position was 4cdffba... Create 0.8.1 tag
Switched to branch 'cassandra-0.8'
Your branch is behind 'origin/cassandra-0.8' by 75 commits, and can be fast-forwarded.
Joaquin-Casaress-MacBook-Pro:git-cassandra joaquin$ git pull


> Del command doesn't work in cli
> -------------------------------
>
>                 Key: CASSANDRA-2896
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2896
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Joaquin Casares
>            Assignee: Pavel Yaskevich
>             Fix For: 0.8.2
>
>
> [default@unknown] connect localhost/9160;
> Connected to: "Test Cluster" on localhost/9160
> [default@unknown] use test;
> Authenticated to keyspace: test
> [default@test] get test[123][123];    
> => (column=0123, value=31, timestamp=1310576784324000)
> [default@test] del test[123][123];    
> column removed.
> [default@test] get test[123][123];
> => (column=0123, value=31, timestamp=1310576784324000)
> Does the same in 0.8.1 still both times in a single node.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message