Re: CLI exception :: A long is exactly 8 bytes: 1

2012-01-07 Thread Sasha Dolgy
Hi -- Sorry for the delay, and thanks for the response. Debug didn't print any stack traces and none are in the usual suspected places...but thanks for that hint. Didn't know that option existed. The age column is an Integer ... Updating to IntegerType worked. Thanks. On Mon, Jan 2, 2012 at

Re: CLI exception :: A long is exactly 8 bytes: 1

2012-01-02 Thread aaron morton
If you use the --debug flag when you start the CLI it always will print full stack traces. What is the CF definition ? I'm guessing the column_metadata specifies that the age column is a Long Was there existing data in the age column and if so how was it encoded ? Was the existing data was e

Re: CLI exception :: A long is exactly 8 bytes: 1

2011-12-30 Thread Sasha Dolgy
as per the wiki link you sent, i change my query to: get user where something = '1'; Still throws the error ... This was fine *before* I ran the update CF command .. To Query Data get User where age = '12'; On Fri, Dec 30, 2011 at 6:05 PM, Moshiur Rahman wrote: > I think you need to mention da

Re: CLI exception :: A long is exactly 8 bytes: 1

2011-12-30 Thread Moshiur Rahman
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

CLI exception :: A long is exactly 8 bytes: 1

2011-12-30 Thread Sasha Dolgy
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.marsha