srikanth created CASSANDRA-7101:
-----------------------------------

             Summary: Unable to complete request: one or more nodes were 
unavailable.
                 Key: CASSANDRA-7101
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7101
             Project: Cassandra
          Issue Type: Bug
          Components: Config
            Reporter: srikanth
             Fix For: 2.0.6


I setup multidata center cluster setup in cassandra. i created keysapce using 
network topology and created a table.but i am unable to insert data into 
tables. i am getting following error to insert data into cassandra
"Unable to complete request: one or more nodes were unavailable.
"
Sample Code:

For Creating Keyspace:

CREATE KEYSPACE TestSample
           WITH replication = {'class': 'NetworkTopologyStrategy', 'DC1' : 1, 
'DC2' : 1}
            AND durable_writes = false;

For Creating Tables:

CREATE TABLE users (
  user_id int PRIMARY KEY,
  fname text,
  lname text
);

Inserting Into Tables:
INSERT INTO users (user_id,  fname, lname)
  VALUES (1745, 'john', 'smith');




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to