cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rakesh Kumar <>
Subject Why is write failing
Date Mon, 28 Mar 2016 15:22:26 GMT
Cassandra: 3.0.3

I am new to Cassandra.

I am creating a test instance of four nodes, two in each data center.
The idea is to verify that Cassandra can continue with writes even if
one DC is down and we further  lose one machine in the surviving DC.

This is in my

# default for unknown nodes

Snitch property in cassandra.yaml
 endpoint_snitch: GossipingPropertyFileSnitch

Keyspace has been defined as follows

 WITH replication = {'class': 'NetworkTopologyStrategy', 'DC1': 1, 'DC2': 1}
AND durable_writes = true ;

yet when I insert to a table via cqlsh with no consistency set, I get this error

Unavailable: code=1000 [Unavailable exception] message="Cannot achieve
consistency level ONE" info={'required_replicas': 1, 'alive_replicas':
0, 'consistency': 'ONE'}

I have verified that cassandra is up on four all nodes.

What is going on?


View raw message