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 <sdo...@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.do...@gmail.com
>

Reply via email to