incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: get mycf['rowkey']['column_name'] return 'Value was not found' in cassandra-cli
Date Mon, 22 Aug 2011 05:20:46 GMT
My guess: you're using an old version of the cli that isn't dealing
with bytestype column names correctly

On Mon, Aug 22, 2011 at 12:08 AM, Yan Chunlu <springrider@gmail.com> wrote:
> connect to cassandra-cli and issue the list my cf I got
> RowKey: comments_62559
> => (column=76616c7565,
> value=28286c70310a4c3236373632334c0a614c3236373733304c0a614c3236373737304c0a614c3236373932324c0a614c3236373934364c0a614c3236383137314c0a614c3236383330334c0a614c3236383934314c0a614c3236383938394c0,
> timestamp=1312791934150273)
>
> and using
> get mycf['comments_62559'] could return
> (column=76616c7565,
> value=28286c70310a4c3236373632334c0a614c3236373733304c0a614c3236373737304c0a614c3236373932324c0a614c3236373934364c0a614c3236383137314c0a614c3236383330334c0a614c3236383934314c0a614c3236383938394c0,
> timestamp=1312791934150273)
>
>
> but
> get mycf['comments_62559'][76616c7565];
> returns 'Value was not found'
> did I do something wrong?



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

Mime
View raw message