cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul van Hoven <paul.van.ho...@googlemail.com>
Subject Re: Creating a keyspace fails
Date Tue, 22 Jan 2013 13:20:50 GMT
Alright. Thanks for you quick help. :)

2013/1/22 Jason Wee <peichieh@gmail.com>:
> maybe typo or forget to update the doc... but anyway, you can use the help
> command when you are in cqlsh.. for example:
>
> cqlsh> HELP CREATE_KEYSPACE;
>
>         CREATE KEYSPACE <ksname>
>             WITH replication = {'class':'<strategy>' [,'<option>':<val>]};
>
>
>
> On Tue, Jan 22, 2013 at 8:06 PM, Paul van Hoven
> <paul.van.hoven@googlemail.com> wrote:
>>
>> Okay, that worked. Why is the statement from the tutorial wrong. I
>> mean, why would a company like datastax post somthing like this?
>>
>> 2013/1/22 Jason Wee <peichieh@gmail.com>:
>> > cqlsh> CREATE KEYSPACE demodb WITH replication = {'class':
>> > 'SimpleStrategy',
>> > 'replication_factor': 3};
>> > cqlsh> use demodb;
>> > cqlsh:demodb>
>> >
>> >
>> > On Tue, Jan 22, 2013 at 7:04 PM, Paul van Hoven
>> > <paul.van.hoven@googlemail.com> wrote:
>> >>
>> >> CREATE KEYSPACE demodb WITH strategy_class = 'SimpleStrategy'
>> >> AND strategy_options:replication_factor='1';
>> >
>> >
>> >
>
>

Mime
View raw message