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

keyspace does not show in describe list, if create query times out

    XMLWordPrintableJSON

Details

    • Normal

    Description

      Here is the snapshot of the overall issue :

      whiterabbit@whiterabbit:~/cassandra/bin$ ccm create 'demo2' -v binary:2.1.7 -n 3 -s -d
      Current cluster is now: demo2
      whiterabbit@whiterabbit:~/cassandra/bin$ ccm list
      demo_1node
      *demo2
      whiterabbit@whiterabbit:~/cassandra/bin$ ccm status
      Cluster: 'demo2'
      ----------------
      node1: UP
      node3: UP
      node2: UP
      whiterabbit@whiterabbit:~/cassandra/bin$ ccm node2 nodetool version

      ReleaseVersion: 2.1.7

      whiterabbit@whiterabbit:~/cassandra/bin$ ccm node2 stop
      whiterabbit@whiterabbit:~/cassandra/bin$ ccm status
      Cluster: 'demo2'
      ----------------
      node1: UP
      node3: UP
      node2: DOWN
      whiterabbit@whiterabbit:~/cassandra/bin$ ccm node1 cqlsh
      Connected to demo2 at 127.0.0.1:9042.
      [cqlsh 5.0.1 | Cassandra 2.1.7 | CQL spec 3.2.0 | Native protocol v3]
      Use HELP for help.
      cqlsh> describe keyspaces;

      system_traces system

      cqlsh> create keyspace training with replication=

      {'class':'SimpleStrategy','replication_factor':1}

      ;
      OperationTimedOut: errors={}, last_host=127.0.0.1
      cqlsh> create keyspace training with replication=

      {'class':'SimpleStrategy','replication_factor':1}

      ;
      AlreadyExists: Keyspace 'training' already exists
      cqlsh> describe keyspaces;

      system_traces system

      cqlsh>

      Attachments

        Issue Links

          Activity

            People

              pauloricardomg Paulo Motta
              RoopeshMajeti Roopesh
              Paulo Motta
              Benjamin Lerer
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: