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

DESCRIBE KEYSPACES / KEYSPACE no longer works with Cassandra 2.1 and cqlsh

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • 2.1.1
    • Legacy/Tools
    • Ubuntu 14.04, running in a Docker container with Ubuntu 14.04

    • Normal

    Description

      Connecting to my Cassandra 2.1 cluster with the new 5.0.1 version of cqlsh, when I run DESCRIBE KEYSPACES I am told there are no keyspaces.

      ```
      cqlsh> describe keyspaces
      describe keyspaces
      <empty>
      ```

      Yet if I connect to that same cluster with version 4 of cqlsh it works fine, I can query the keyspaces, and if I run the query manually `select * from system.schema_keyspaces` I am given a list of keyspaces.

      `DESCRIBE KEYSPACE` also fails with the new cqlsh tool, yet works with version 4.

      ```
      cqlsh>use mykeyspace;
      cqlsh:mykeyspace> describe keyspace;
      describe keyspace;
      Keyspace 'ably_sandbox_0' not found.
      ```

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              matthew.oriordan Matthew O'Riordan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: