You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Kevin <th...@gmail.com> on 2011/06/05 02:48:49 UTC

How to delete UUIDs from the CLI?

Currently I'm using a client (Pelops) to insert UUIDs (both lexical and
time) in to Cassandra. I haven't yet implemented a facility to remove them
with Pelops; i'm testing and refining the insertion mechanism.

 

As such, I would like to use the CLI to delete test UUID values. It seems,
however, that I'm unable to delete UUID rowkeys and columns with the del
command. Is there something I'm missing? I have to use "assume as" to list
the rows in column families with UUID row keys, but deleting the displayed
row keys does not delete the entries.

 

I can view columns with UUID values without "assume as" (provided they're
not contained in rows with UUID keys), but I am unable to delete them from
the CLI as well. Is it not possible to do this from the CLI, or is there
something I'm overlooking?


Re: How to delete UUIDs from the CLI?

Posted by Jonathan Ellis <jb...@gmail.com>.
You're going to need to get a lot more specific.

On Sun, Jun 5, 2011 at 12:12 PM, Kevin <th...@gmail.com> wrote:
> Jonathan, I've upgraded to 0.8.0 and the problem got worse. Now, I can't
> delete any rows from the CLI, regardless of the type they're stored as.
>
>
>
> -----Original Message-----
> From: Jonathan Ellis [mailto:jbellis@gmail.com]
> Sent: Sunday, June 05, 2011 10:56 AM
> To: user@cassandra.apache.org
> Subject: Re: How to delete UUIDs from the CLI?
>
> If you're not using 0.8.0 the cli deals poorly with non-string row keys.
>
> On Sat, Jun 4, 2011 at 7:48 PM, Kevin <th...@gmail.com> wrote:
>> Currently I'm using a client (Pelops) to insert UUIDs (both lexical
>> and
>> time) in to Cassandra. I haven't yet implemented a facility to remove
>> them with Pelops; i'm testing and refining the insertion mechanism.
>>
>>
>>
>> As such, I would like to use the CLI to delete test UUID values. It
>> seems, however, that I'm unable to delete UUID rowkeys and columns
>> with the del command. Is there something I'm missing? I have to use
>> "assume as" to list the rows in column families with UUID row keys,
>> but deleting the displayed row keys does not delete the entries.
>>
>>
>>
>> I can view columns with UUID values without "assume as" (provided
>> they're not contained in rows with UUID keys), but I am unable to
>> delete them from the CLI as well. Is it not possible to do this from
>> the CLI, or is there something I'm overlooking?
>
>
>
> --
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder of DataStax, the source for professional Cassandra support
> http://www.datastax.com
>
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

RE: How to delete UUIDs from the CLI?

Posted by Kevin <th...@gmail.com>.
Jonathan, I've upgraded to 0.8.0 and the problem got worse. Now, I can't
delete any rows from the CLI, regardless of the type they're stored as.



-----Original Message-----
From: Jonathan Ellis [mailto:jbellis@gmail.com] 
Sent: Sunday, June 05, 2011 10:56 AM
To: user@cassandra.apache.org
Subject: Re: How to delete UUIDs from the CLI?

If you're not using 0.8.0 the cli deals poorly with non-string row keys.

On Sat, Jun 4, 2011 at 7:48 PM, Kevin <th...@gmail.com> wrote:
> Currently I'm using a client (Pelops) to insert UUIDs (both lexical 
> and
> time) in to Cassandra. I haven't yet implemented a facility to remove 
> them with Pelops; i'm testing and refining the insertion mechanism.
>
>
>
> As such, I would like to use the CLI to delete test UUID values. It 
> seems, however, that I'm unable to delete UUID rowkeys and columns 
> with the del command. Is there something I'm missing? I have to use 
> "assume as" to list the rows in column families with UUID row keys, 
> but deleting the displayed row keys does not delete the entries.
>
>
>
> I can view columns with UUID values without "assume as" (provided 
> they're not contained in rows with UUID keys), but I am unable to 
> delete them from the CLI as well. Is it not possible to do this from 
> the CLI, or is there something I'm overlooking?



--
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com


Re: How to delete UUIDs from the CLI?

Posted by Jonathan Ellis <jb...@gmail.com>.
If you're not using 0.8.0 the cli deals poorly with non-string row keys.

On Sat, Jun 4, 2011 at 7:48 PM, Kevin <th...@gmail.com> wrote:
> Currently I'm using a client (Pelops) to insert UUIDs (both lexical and
> time) in to Cassandra. I haven't yet implemented a facility to remove them
> with Pelops; i'm testing and refining the insertion mechanism.
>
>
>
> As such, I would like to use the CLI to delete test UUID values. It seems,
> however, that I'm unable to delete UUID rowkeys and columns with the del
> command. Is there something I'm missing? I have to use “assume as” to list
> the rows in column families with UUID row keys, but deleting the displayed
> row keys does not delete the entries.
>
>
>
> I can view columns with UUID values without “assume as” (provided they're
> not contained in rows with UUID keys), but I am unable to delete them from
> the CLI as well. Is it not possible to do this from the CLI, or is there
> something I'm overlooking?



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com