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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Duplicate
    • Fix Version/s: 2.1.1
    • Component/s: Legacy/Tools
    • Labels:
    • Environment:

      Ubuntu 14.04, running in a Docker container with Ubuntu 14.04

    • Severity:
      Normal
    • Since Version:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: