Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-7101

Unable to complete request: one or more nodes were unavailable.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Incomplete
    • 2.0.9
    • Local/Config
    • 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 =

      {'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');

      Attachments

        Activity

          People

            Unassigned Unassigned
            sri7gster srikanth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: