cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vivek Mishra <mishra.v...@gmail.com>
Subject Re: Unable to complete request: one or more nodes were unavailable.
Date Wed, 16 Apr 2014 12:55:48 GMT
Thanks Mark. does this mean with RF=3, all 3 nodes must be up and running
for CAS updates?

-Vivek


On Wed, Apr 16, 2014 at 6:22 PM, Mark Reddy <mark.reddy@boxever.com> wrote:

> create keyspace twitter with replication = {'class':'SimpleStrategy',
>> 'replication_factor' : 3}
>
>
> Your replication factor is your issue here, you have a single node and a
> RF=3. For a single node setup your RF should be 1. You can find more info
> about replication here:
> http://www.datastax.com/documentation/cassandra/2.0/cassandra/architecture/architectureDataDistributeReplication_c.html
>
>
> On Wed, Apr 16, 2014 at 1:44 PM, Vivek Mishra <mishra.vivs@gmail.com>wrote:
>
>> Hi,
>> Mine is a simple case. Running on single node only. Keyspace is:
>>
>> create keyspace twitter with replication = {'class':'SimpleStrategy',
>> 'replication_factor' : 3}
>>
>> -Vivek
>>
>>
>> On Wed, Apr 16, 2014 at 1:27 AM, Tupshin Harper <tupshin@tupshin.com>wrote:
>>
>>> Please provide your keyspace definition,  and the output of "nodetool
>>> ring"
>>>
>>> -Tupshin
>>> On Apr 15, 2014 3:52 PM, "Vivek Mishra" <mishra.vivs@gmail.com> wrote:
>>>
>>>> Hi,
>>>> I am trying Cassandra light weight transaction support with Cassandra
>>>> 2.0.4
>>>>
>>>> cqlsh:twitter> create table user(user_id text primary key, namef text);
>>>> cqlsh:twitter> insert into user(user_id,namef) values('v','ff') if not
>>>> exists;
>>>>
>>>> *Unable to complete request: one or more nodes were unavailable.*
>>>>
>>>> Any suggestions?
>>>>
>>>> -Vivek
>>>>
>>>
>>
>

Mime
View raw message