thx

Other question

(I'm moving from cassandra 0.7.10 to 1.1)

the class org.apache.cassandra.thrift.Column.Column 's constructor
arguments is now just name instead of (name, value, timestamp)

So it should be called like this?

new
Column(myColumnName).setValue(myVal).setTimestamp(System.currentTimeMillis());

Larger.. , but no choice



2012/5/6 Pierre Chalamet <pie...@chalamet.net>

> Hi,****
>
> ** **
>
> I bet you are using cql commands in cassandra-cli.****
>
> ** **
>
> If you are using cli, use instead:****
>
> create keyspace Excelsior with placement_strategy=’SimpleStrategy’ and
> strategy_options = [{replication_factor:1}]****
>
> ** **
>
> ** **
>
> *From:* cyril auburtin [mailto:cyril.aubur...@gmail.com]
> *Sent:* Sunday, May 06, 2012 10:31 AM
> *To:* user@cassandra.apache.org
> *Subject:* creating keyspace with 1.1****
>
> ** **
>
> Hello****
>
> ** **
>
> I have just installed cassandra 1.1****
>
> ** **
>
>  CREATE KEYSPACE Excelsior WITH strategy_class = 'SimpleStrategy' AND
> strategy_options:replication_factor = 1;****
>
> ** **
>
> gives this error:****
>
> ** **
>
> Syntax error at position 85: mismatched input ':' expecting '='****
>
> ** **
>
> I've looked in changes but didn't found ****
>
> Thanks****
>

Reply via email to