incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bret Palsson <b...@getjive.com>
Subject [update] Cannot insert when RF>=2
Date Mon, 08 Aug 2011 20:17:37 GMT
Sorry about that sent the last email a little prematurely.
------

Does anyone have a solution or have seen this type of behavior?

Running: apache-cassandra08-0.8.2

Attempting to use QUORUM reads and writes only works on a keyspace with =
RF =3D 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=3D[{replication_factor:2}];
use rftest;
create column family TestData with comparator =3D UTF8Type;
set TestData[utf8('foo')]['bar'] =3D '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


cassandra-cli:
# cassandra-cli -h cassandra1
Connected to: "Jive Core" on cassandra1/9160
Welcome to the Cassandra CLI.

Type 'help;' or '?' for help.
Type 'quit;' or 'exit;' to quit.

[default@unknown] use rftest;
Authenticated to keyspace: rftest
[default@rftest] set TestData[utf8('foo')]['bar'] =3D 'baz';
null
[default@rftest]=20

Debug output:
Aug  8 14:13:57 DEBUG 14:13:57,691 insert=
Mime
View raw message