CLI defaults to NTS.  You need to specify SimpleStrategy if that's
what you want.

https://issues.apache.org/jira/browse/CASSANDRA-2960

On Mon, Aug 8, 2011 at 3:10 PM, Bret Palsson <[email protected]> wrote:
> Running: apache-cassandra08-0.8.2
>
> Attempting to use QUORUM reads and writes only works on a keyspace with RF = 
> 1. With RF set to 2 or 3, the write fails and reads return unavailable.
>
> These CLI commands will reproduce the issue:
>
> create keyspace rftest with strategy_options=[{replication_factor:2}];
> use rftest;
> create column family TestData with comparator = UTF8Type;
> set TestData[utf8('foo')]['bar'] = 'bad';
>
>
> Here is my ring:
> Address         DC          Rack        Status State   Load            Owns   
>  Token
>                                                                               
> 127605887595351923798765477786913079296
> 10.200.99.5     datacenter1 rack1       Up     Normal  379.48 KB       25.00% 
>  0
> 10.200.99.6     datacenter1 rack1       Up     Normal  387.3 KB        25.00% 
>  42535295865117307932921825928971026432
> 10.200.99.13    datacenter1 rack1       Up     Normal  369.41 KB       25.00% 
>  85070591730234615865843651857942052864
> 10.200.99.14    datacenter1 rack1       Up     Normal  378.17 KB       25.00% 
>  127605887595351923798765477786913079296
>
>
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Reply via email to