incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Moshiur Rahman <moshi.b...@gmail.com>
Subject Re: CLI exception :: A long is exactly 8 bytes: 1
Date Fri, 30 Dec 2011 17:05:16 GMT
I think you need to mention data type in your command. You have to run the
following command first:
assume <*CFName*> keys as <*TypeName*, i.e., utf8>

Otherwise, you need to mention type with each command, e.g.,
utf8('keyname').
http://wiki.apache.org/cassandra/CassandraCli

Moshiur


On Fri, Dec 30, 2011 at 10:50 AM, Sasha Dolgy <sdolgy@gmail.com> wrote:

> Hi Everyone,
>
> Been a while .. without any problems.  Thanks for grinding out a good
> product!  On 1.0.6, I applied an update to a column family to add a
> secondary index, and now via the CLI, when I perform a "get user where
> something=1" I receive the following result:
>
> org.apache.cassandra.db.marshal.MarshalException: A long is exactly 8
> bytes: 1
>
> This behaviour doesn't seem to be affecting phpcassa or hector
> retrieving the results of that query ... is this a silly something
> i've done, or something a bit more buggy with the CLI?
>
> Thanks in advance,
> -sd
>
> --
> Sasha Dolgy
> sasha.dolgy@gmail.com
>

Mime
View raw message