Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Incomplete
-
None
-
Normal
Description
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 =
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');