Can you provide the cli script to create the schema and info on how many nodes 
you have. 

Thanks

-----------------
Aaron Morton
Freelance Cassandra Developer
@aaronmorton
http://www.thelastpickle.com

On 8 Jun 2011, at 16:12, AJ wrote:

> Can anyone help?  The CLI seems to be having issues.  The count command isn't 
> working either:
> 
> [default@Keyspace1] count User[long(1)];
> Expected 8 or 0 byte long (13)
> java.lang.RuntimeException: Expected 8 or 0 byte long (13)
>        at 
> org.apache.cassandra.cli.CliClient.executeCLIStatement(CliClient.java:284)
>        at org.apache.cassandra.cli.CliMain.processStatement(CliMain.java:217)
>        at org.apache.cassandra.cli.CliMain.main(CliMain.java:345)
> [default@Keyspace1]
> [default@Keyspace1] count User[1];;
> Expected 8 or 0 byte long (1)
> java.lang.RuntimeException: Expected 8 or 0 byte long (1)
>        at 
> org.apache.cassandra.cli.CliClient.executeCLIStatement(CliClient.java:284)
>        at org.apache.cassandra.cli.CliMain.processStatement(CliMain.java:217)
>        at org.apache.cassandra.cli.CliMain.main(CliMain.java:345)
> [default@Keyspace1] count User['1'];
> Expected 8 or 0 byte long (1)
> java.lang.RuntimeException: Expected 8 or 0 byte long (1)
>        at 
> org.apache.cassandra.cli.CliClient.executeCLIStatement(CliClient.java:284)
>        at org.apache.cassandra.cli.CliMain.processStatement(CliMain.java:217)
>        at org.apache.cassandra.cli.CliMain.main(CliMain.java:345)
> [default@Keyspace1] count User['12345678'];
> null
> java.lang.RuntimeException
>        at 
> org.apache.cassandra.cli.CliClient.executeCLIStatement(CliClient.java:292)
>        at org.apache.cassandra.cli.CliMain.processStatement(CliMain.java:217)
>        at org.apache.cassandra.cli.CliMain.main(CliMain.java:345)
> [default@Keyspace1]
> 
> 
> Granted, there are no rows in the CF yet (see probs below), but this 
> exception seems to be during the parsing stage.
> 
> I've check everything else, AFAIK, so I'm at a loss.
> 
> Much obliged.
> 
> On 6/7/2011 12:44 PM, AJ wrote:
>> The log only shows INFO level messages about flushes, etc..
>> 
>> The debug mode of the CLI shows an exception after the set:
>> 
>> [al@mars ~]$ cassandra-cli -h 192.168.1.101 --debug
>> Connected to: "Test Cluster" on 192.168.1.101/9160
>> Welcome to the Cassandra CLI.
>> 
>> Type 'help;' or '?' for help.
>> Type 'quit;' or 'exit;' to quit.
>> 
>> [default@unknown] use Keyspace1;
>> Authenticated to keyspace: Keyspace1
>> [default@Keyspace1] set User[1]['name']='aaa';
>> null
>> java.lang.RuntimeException
>>        at 
>> org.apache.cassandra.cli.CliClient.executeCLIStatement(CliClient.java:292)
>>        at org.apache.cassandra.cli.CliMain.processStatement(CliMain.java:217)
>>        at org.apache.cassandra.cli.CliMain.main(CliMain.java:345)
>> [default@Keyspace1]
>> 
>> 
> 

Reply via email to