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

unable to perform DDL and DML operation after install apache-cassandra-2.1.18

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Urgent
    • Resolution: Invalid
    • Fix Version/s: 2.1.18
    • Component/s: Local/Config
    • Labels:
      None
    • Environment:

      linux(RHEL 6.8)

    • Severity:
      Critical

      Description

      unable to perform DDL and DML operation after install apache-cassandra-2.1.18. please suggest what steps need to performs and provide the solution step by step

      Error:
      InvalidRequest: code=2200 [Invalid query] message="No keyspace has been specified. USE a keyspace, or explicitly specify keyspace.tablename"

      assandra home path : /u01/Cassandra_home
      cassandra bin path: -/u01/Cassandra_home/apache-cassandra-2.1.18/bin
      [cassdb@alsc_dev_db bin]$ pwd
      /u01/Cassandra_home/apache-cassandra-2.1.18/bin
      cassdb@alsc_dev_db bin]$ ./cqlsh
      Connected to Test Cluster at 127.0.0.1:9042.
      [cqlsh 5.0.1 | Cassandra 2.1.18 | CQL spec 3.2.1 | Native protocol v3]
      Use HELP for help.
      cqlsh>
      cqlsh> CREATE TABLE test1(sno int);
      InvalidRequest: code=2200 [Invalid query] message="No keyspace has been specified. USE a keyspace, or explicitly specify keyspace.tablename"
      cqlsh>

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              raja1206 rajasekhar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: